Class MyOAuth2ClientCredentials.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydomains.model.MyOAuth2ClientCredentials.Builder
-
- Enclosing class:
- MyOAuth2ClientCredentials
public static class MyOAuth2ClientCredentials.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MyOAuth2ClientCredentials
build()
MyOAuth2ClientCredentials.Builder
copy(MyOAuth2ClientCredentials model)
MyOAuth2ClientCredentials.Builder
itemsPerPage(Integer itemsPerPage)
The number of resources returned in a list response page.MyOAuth2ClientCredentials.Builder
resources(List<MyOAuth2ClientCredential> resources)
A multi-valued list of complex objects containing the requested resources.MyOAuth2ClientCredentials.Builder
schemas(List<String> schemas)
The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation.MyOAuth2ClientCredentials.Builder
startIndex(Integer startIndex)
The 1-based index of the first result in the current set of list results.MyOAuth2ClientCredentials.Builder
totalResults(Integer totalResults)
The total number of results returned by the list or query operation.
-
-
-
Method Detail
-
schemas
public MyOAuth2ClientCredentials.Builder schemas(List<String> schemas)
The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation.Each String value must be a unique URI. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior. REQUIRED.
- Parameters:
schemas
- the value to set- Returns:
- this builder
-
totalResults
public MyOAuth2ClientCredentials.Builder totalResults(Integer totalResults)
The total number of results returned by the list or query operation.The value may be larger than the number of resources returned such as when returning a single page of results where multiple pages are available. REQUIRED.
- Parameters:
totalResults
- the value to set- Returns:
- this builder
-
resources
public MyOAuth2ClientCredentials.Builder resources(List<MyOAuth2ClientCredential> resources)
A multi-valued list of complex objects containing the requested resources.This MAY be a subset of the full set of resources if pagination is requested. REQUIRED if “totalResults” is non-zero.
- Parameters:
resources
- the value to set- Returns:
- this builder
-
startIndex
public MyOAuth2ClientCredentials.Builder startIndex(Integer startIndex)
The 1-based index of the first result in the current set of list results.REQUIRED when partial results returned due to pagination.
- Parameters:
startIndex
- the value to set- Returns:
- this builder
-
itemsPerPage
public MyOAuth2ClientCredentials.Builder itemsPerPage(Integer itemsPerPage)
The number of resources returned in a list response page.REQUIRED when partial results returned due to pagination.
- Parameters:
itemsPerPage
- the value to set- Returns:
- this builder
-
build
public MyOAuth2ClientCredentials build()
-
copy
public MyOAuth2ClientCredentials.Builder copy(MyOAuth2ClientCredentials model)
-
-