Class CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfile.PardotConnectorProfileCredentialsProperty>
- Enclosing interface:
- CfnConnectorProfile.PardotConnectorProfileCredentialsProperty
@Stability(Stable)
public static final class CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfile.PardotConnectorProfileCredentialsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessToken(String accessToken) build()Builds the configured instance.clientCredentialsArn(String clientCredentialsArn) connectorOAuthRequest(IResolvable connectorOAuthRequest) connectorOAuthRequest(CfnConnectorProfile.ConnectorOAuthRequestProperty connectorOAuthRequest) refreshToken(String refreshToken)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessToken
@Stability(Stable) public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder accessToken(String accessToken) - Parameters:
accessToken-CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.AccessToken.- Returns:
this
-
clientCredentialsArn
@Stability(Stable) public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder clientCredentialsArn(String clientCredentialsArn) Sets the value ofCfnConnectorProfile.PardotConnectorProfileCredentialsProperty.getClientCredentialsArn()- Parameters:
clientCredentialsArn-CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.ClientCredentialsArn.- Returns:
this
-
connectorOAuthRequest
@Stability(Stable) public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(IResolvable connectorOAuthRequest) Sets the value ofCfnConnectorProfile.PardotConnectorProfileCredentialsProperty.getConnectorOAuthRequest()- Parameters:
connectorOAuthRequest-CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.ConnectorOAuthRequest.- Returns:
this
-
connectorOAuthRequest
@Stability(Stable) public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(CfnConnectorProfile.ConnectorOAuthRequestProperty connectorOAuthRequest) Sets the value ofCfnConnectorProfile.PardotConnectorProfileCredentialsProperty.getConnectorOAuthRequest()- Parameters:
connectorOAuthRequest-CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.ConnectorOAuthRequest.- Returns:
this
-
refreshToken
@Stability(Stable) public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder refreshToken(String refreshToken) - Parameters:
refreshToken-CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.RefreshToken.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfile.PardotConnectorProfileCredentialsProperty>- Returns:
- a new instance of
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-