Class CreateConnectionFromOAuth2.Builder
- java.lang.Object
- 
- com.oracle.bmc.dataintegration.model.CreateConnectionFromOAuth2.Builder
 
- 
- Enclosing class:
- CreateConnectionFromOAuth2
 
 public static class CreateConnectionFromOAuth2.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
keypublic CreateConnectionFromOAuth2.Builder key(String key) 
 - 
modelVersionpublic CreateConnectionFromOAuth2.Builder modelVersion(String modelVersion) 
 - 
parentRefpublic CreateConnectionFromOAuth2.Builder parentRef(ParentReference parentRef) 
 - 
namepublic CreateConnectionFromOAuth2.Builder name(String name) 
 - 
descriptionpublic CreateConnectionFromOAuth2.Builder description(String description) 
 - 
objectStatuspublic CreateConnectionFromOAuth2.Builder objectStatus(Integer objectStatus) 
 - 
identifierpublic CreateConnectionFromOAuth2.Builder identifier(String identifier) 
 - 
connectionPropertiespublic CreateConnectionFromOAuth2.Builder connectionProperties(List<ConnectionProperty> connectionProperties) 
 - 
registryMetadatapublic CreateConnectionFromOAuth2.Builder registryMetadata(RegistryMetadata registryMetadata) 
 - 
accessTokenUrlpublic CreateConnectionFromOAuth2.Builder accessTokenUrl(String accessTokenUrl) Specifies the endpoint used to exchange authentication credentials for access tokens- Parameters:
- accessTokenUrl- the value to set
- Returns:
- this builder
 
 - 
clientIdpublic CreateConnectionFromOAuth2.Builder clientId(String clientId) Specifies the client ID key for specific application- Parameters:
- clientId- the value to set
- Returns:
- this builder
 
 - 
clientSecretpublic CreateConnectionFromOAuth2.Builder clientSecret(SensitiveAttribute clientSecret) 
 - 
scopepublic CreateConnectionFromOAuth2.Builder scope(String scope) Specifies the OAuth scopes that limit the permissions granted by an access token.- Parameters:
- scope- the value to set
- Returns:
- this builder
 
 - 
grantTypepublic CreateConnectionFromOAuth2.Builder grantType(CreateConnectionFromOAuth2.GrantType grantType) Specifies the OAuth2 grant mechanism.Example CLIENT_CREDENTIALS, Implicit Flow etc. - Parameters:
- grantType- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateConnectionFromOAuth2 build() 
 - 
copypublic CreateConnectionFromOAuth2.Builder copy(CreateConnectionFromOAuth2 model) 
 
- 
 
-