Class CreateConnectionFromOAuth2.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.CreateConnectionFromOAuth2.Builder
-
- Enclosing class:
- CreateConnectionFromOAuth2
public static class CreateConnectionFromOAuth2.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
key
public CreateConnectionFromOAuth2.Builder key(String key)
-
modelVersion
public CreateConnectionFromOAuth2.Builder modelVersion(String modelVersion)
-
parentRef
public CreateConnectionFromOAuth2.Builder parentRef(ParentReference parentRef)
-
name
public CreateConnectionFromOAuth2.Builder name(String name)
-
description
public CreateConnectionFromOAuth2.Builder description(String description)
-
objectStatus
public CreateConnectionFromOAuth2.Builder objectStatus(Integer objectStatus)
-
identifier
public CreateConnectionFromOAuth2.Builder identifier(String identifier)
-
connectionProperties
public CreateConnectionFromOAuth2.Builder connectionProperties(List<ConnectionProperty> connectionProperties)
-
registryMetadata
public CreateConnectionFromOAuth2.Builder registryMetadata(RegistryMetadata registryMetadata)
-
accessTokenUrl
public 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
-
clientId
public CreateConnectionFromOAuth2.Builder clientId(String clientId)
Specifies the client ID key for specific application- Parameters:
clientId
- the value to set- Returns:
- this builder
-
clientSecret
public CreateConnectionFromOAuth2.Builder clientSecret(SensitiveAttribute clientSecret)
-
scope
public 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
-
grantType
public 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
-
build
public CreateConnectionFromOAuth2 build()
-
copy
public CreateConnectionFromOAuth2.Builder copy(CreateConnectionFromOAuth2 model)
-
-