Class CfnConnection.OAuth2PropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnConnection.OAuth2PropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection.OAuth2PropertiesProperty>
- Enclosing interface:
CfnConnection.OAuth2PropertiesProperty
@Stability(Stable)
public static final class CfnConnection.OAuth2PropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection.OAuth2PropertiesProperty>
A builder for
CfnConnection.OAuth2PropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationCodeProperties(IResolvable authorizationCodeProperties) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getAuthorizationCodeProperties()authorizationCodeProperties(CfnConnection.AuthorizationCodePropertiesProperty authorizationCodeProperties) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getAuthorizationCodeProperties()build()Builds the configured instance.oAuth2ClientApplication(IResolvable oAuth2ClientApplication) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2ClientApplication()oAuth2ClientApplication(CfnConnection.OAuth2ClientApplicationProperty oAuth2ClientApplication) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2ClientApplication()oAuth2Credentials(IResolvable oAuth2Credentials) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2Credentials()oAuth2Credentials(CfnConnection.GlueOAuth2CredentialsProperty oAuth2Credentials) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2Credentials()oAuth2GrantType(String oAuth2GrantType) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2GrantType()Sets the value ofCfnConnection.OAuth2PropertiesProperty.getTokenUrl()tokenUrlParametersMap(Map<String, String> tokenUrlParametersMap) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getTokenUrlParametersMap()tokenUrlParametersMap(IResolvable tokenUrlParametersMap) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getTokenUrlParametersMap()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationCodeProperties
@Stability(Stable) public CfnConnection.OAuth2PropertiesProperty.Builder authorizationCodeProperties(IResolvable authorizationCodeProperties) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getAuthorizationCodeProperties()- Parameters:
authorizationCodeProperties- The authorization code properties of the OAuth2 properties.- Returns:
this
-
authorizationCodeProperties
@Stability(Stable) public CfnConnection.OAuth2PropertiesProperty.Builder authorizationCodeProperties(CfnConnection.AuthorizationCodePropertiesProperty authorizationCodeProperties) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getAuthorizationCodeProperties()- Parameters:
authorizationCodeProperties- The authorization code properties of the OAuth2 properties.- Returns:
this
-
oAuth2ClientApplication
@Stability(Stable) public CfnConnection.OAuth2PropertiesProperty.Builder oAuth2ClientApplication(IResolvable oAuth2ClientApplication) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2ClientApplication()- Parameters:
oAuth2ClientApplication- The OAuth2 client application of the OAuth2 properties.- Returns:
this
-
oAuth2ClientApplication
@Stability(Stable) public CfnConnection.OAuth2PropertiesProperty.Builder oAuth2ClientApplication(CfnConnection.OAuth2ClientApplicationProperty oAuth2ClientApplication) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2ClientApplication()- Parameters:
oAuth2ClientApplication- The OAuth2 client application of the OAuth2 properties.- Returns:
this
-
oAuth2Credentials
@Stability(Stable) public CfnConnection.OAuth2PropertiesProperty.Builder oAuth2Credentials(IResolvable oAuth2Credentials) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2Credentials()- Parameters:
oAuth2Credentials- The OAuth2 credentials of the OAuth2 properties.- Returns:
this
-
oAuth2Credentials
@Stability(Stable) public CfnConnection.OAuth2PropertiesProperty.Builder oAuth2Credentials(CfnConnection.GlueOAuth2CredentialsProperty oAuth2Credentials) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2Credentials()- Parameters:
oAuth2Credentials- The OAuth2 credentials of the OAuth2 properties.- Returns:
this
-
oAuth2GrantType
@Stability(Stable) public CfnConnection.OAuth2PropertiesProperty.Builder oAuth2GrantType(String oAuth2GrantType) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getOAuth2GrantType()- Parameters:
oAuth2GrantType- The OAuth2 grant type of the OAuth2 properties.- Returns:
this
-
tokenUrl
Sets the value ofCfnConnection.OAuth2PropertiesProperty.getTokenUrl()- Parameters:
tokenUrl- The OAuth2 token URL of the OAuth2 properties.- Returns:
this
-
tokenUrlParametersMap
@Stability(Stable) public CfnConnection.OAuth2PropertiesProperty.Builder tokenUrlParametersMap(Map<String, String> tokenUrlParametersMap) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getTokenUrlParametersMap()- Parameters:
tokenUrlParametersMap- The OAuth2 token URL parameter map of the OAuth2 properties.- Returns:
this
-
tokenUrlParametersMap
@Stability(Stable) public CfnConnection.OAuth2PropertiesProperty.Builder tokenUrlParametersMap(IResolvable tokenUrlParametersMap) Sets the value ofCfnConnection.OAuth2PropertiesProperty.getTokenUrlParametersMap()- Parameters:
tokenUrlParametersMap- The OAuth2 token URL parameter map of the OAuth2 properties.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection.OAuth2PropertiesProperty>- Returns:
- a new instance of
CfnConnection.OAuth2PropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-