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