Class CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty>
- Enclosing interface:
CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty
@Stability(Stable)
public static final class CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.redirectUri(String redirectUri)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authCode
@Stability(Stable) public CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty.Builder authCode(String authCode) - Parameters:
authCode- The code provided by the connector when it has been authenticated via the connected app.- Returns:
this
-
redirectUri
@Stability(Stable) public CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty.Builder redirectUri(String redirectUri) - Parameters:
redirectUri- The URL to which the authentication server redirects the browser after authorization has been granted.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty>- Returns:
- a new instance of
CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-