Class CfnConnection.AuthorizationCodePropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnConnection.AuthorizationCodePropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection.AuthorizationCodePropertiesProperty>
- Enclosing interface:
CfnConnection.AuthorizationCodePropertiesProperty
@Stability(Stable)
public static final class CfnConnection.AuthorizationCodePropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection.AuthorizationCodePropertiesProperty>
A builder for
CfnConnection.AuthorizationCodePropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationCode(String authorizationCode) Sets the value ofCfnConnection.AuthorizationCodePropertiesProperty.getAuthorizationCode()build()Builds the configured instance.redirectUri(String redirectUri) Sets the value ofCfnConnection.AuthorizationCodePropertiesProperty.getRedirectUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationCode
@Stability(Stable) public CfnConnection.AuthorizationCodePropertiesProperty.Builder authorizationCode(String authorizationCode) Sets the value ofCfnConnection.AuthorizationCodePropertiesProperty.getAuthorizationCode()- Parameters:
authorizationCode- The authorization code of a connection.- Returns:
this
-
redirectUri
@Stability(Stable) public CfnConnection.AuthorizationCodePropertiesProperty.Builder redirectUri(String redirectUri) Sets the value ofCfnConnection.AuthorizationCodePropertiesProperty.getRedirectUri()- Parameters:
redirectUri- The redirect URI of a connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection.AuthorizationCodePropertiesProperty>- Returns:
- a new instance of
CfnConnection.AuthorizationCodePropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-