public static final class CfnConnectorProfile.OAuth2PropertiesProperty.Builder
extends java.lang.Object
CfnConnectorProfile.OAuth2PropertiesProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConnectorProfile.OAuth2PropertiesProperty |
build()
Builds the configured instance.
|
CfnConnectorProfile.OAuth2PropertiesProperty.Builder |
oAuth2GrantType(java.lang.String oAuth2GrantType)
Sets the value of
CfnConnectorProfile.OAuth2PropertiesProperty.getOAuth2GrantType() |
CfnConnectorProfile.OAuth2PropertiesProperty.Builder |
tokenUrl(java.lang.String tokenUrl)
Sets the value of
CfnConnectorProfile.OAuth2PropertiesProperty.getTokenUrl() |
CfnConnectorProfile.OAuth2PropertiesProperty.Builder |
tokenUrlCustomProperties(IResolvable tokenUrlCustomProperties)
|
CfnConnectorProfile.OAuth2PropertiesProperty.Builder |
tokenUrlCustomProperties(java.util.Map<java.lang.String,java.lang.String> tokenUrlCustomProperties)
|
public CfnConnectorProfile.OAuth2PropertiesProperty.Builder oAuth2GrantType(java.lang.String oAuth2GrantType)
CfnConnectorProfile.OAuth2PropertiesProperty.getOAuth2GrantType()
oAuth2GrantType
- The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.this
public CfnConnectorProfile.OAuth2PropertiesProperty.Builder tokenUrl(java.lang.String tokenUrl)
CfnConnectorProfile.OAuth2PropertiesProperty.getTokenUrl()
tokenUrl
- The token URL required for OAuth 2.0 authentication.this
public CfnConnectorProfile.OAuth2PropertiesProperty.Builder tokenUrlCustomProperties(IResolvable tokenUrlCustomProperties)
tokenUrlCustomProperties
- Associates your token URL with a map of properties that you define.
Use this parameter to provide any additional details that the connector requires to authenticate your request.this
public CfnConnectorProfile.OAuth2PropertiesProperty.Builder tokenUrlCustomProperties(java.util.Map<java.lang.String,java.lang.String> tokenUrlCustomProperties)
tokenUrlCustomProperties
- Associates your token URL with a map of properties that you define.
Use this parameter to provide any additional details that the connector requires to authenticate your request.this
public CfnConnectorProfile.OAuth2PropertiesProperty build()
CfnConnectorProfile.OAuth2PropertiesProperty
java.lang.NullPointerException
- if any required attribute was not provided