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