Class CfnConnectorProfile.OAuth2PropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnConnectorProfile.OAuth2PropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfile.OAuth2PropertiesProperty>
- Enclosing interface:
- CfnConnectorProfile.OAuth2PropertiesProperty
@Stability(Stable)
public static final class CfnConnectorProfile.OAuth2PropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfile.OAuth2PropertiesProperty>
A builder for
CfnConnectorProfile.OAuth2PropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.oAuth2GrantType
(String oAuth2GrantType) Sets the value ofCfnConnectorProfile.OAuth2PropertiesProperty.getOAuth2GrantType()
Sets the value ofCfnConnectorProfile.OAuth2PropertiesProperty.getTokenUrl()
tokenUrlCustomProperties
(Map<String, String> tokenUrlCustomProperties) tokenUrlCustomProperties
(IResolvable tokenUrlCustomProperties)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
oAuth2GrantType
@Stability(Stable) public CfnConnectorProfile.OAuth2PropertiesProperty.Builder oAuth2GrantType(String oAuth2GrantType) Sets the value ofCfnConnectorProfile.OAuth2PropertiesProperty.getOAuth2GrantType()
- Parameters:
oAuth2GrantType
- The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.- Returns:
this
-
tokenUrl
@Stability(Stable) public CfnConnectorProfile.OAuth2PropertiesProperty.Builder tokenUrl(String tokenUrl) Sets the value ofCfnConnectorProfile.OAuth2PropertiesProperty.getTokenUrl()
- Parameters:
tokenUrl
- The token URL required for OAuth 2.0 authentication.- Returns:
this
-
tokenUrlCustomProperties
@Stability(Stable) public CfnConnectorProfile.OAuth2PropertiesProperty.Builder tokenUrlCustomProperties(IResolvable tokenUrlCustomProperties) - Parameters:
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.- Returns:
this
-
tokenUrlCustomProperties
@Stability(Stable) public CfnConnectorProfile.OAuth2PropertiesProperty.Builder tokenUrlCustomProperties(Map<String, String> tokenUrlCustomProperties) - Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectorProfile.OAuth2PropertiesProperty>
- Returns:
- a new instance of
CfnConnectorProfile.OAuth2PropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-