Class CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty>
- Enclosing interface:
CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty
@Stability(Stable)
public static final class CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessToken(String accessToken) build()Builds the configured instance.clientSecret(String clientSecret) connectorOAuthRequest(CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty connectorOAuthRequest) connectorOAuthRequest(IResolvable connectorOAuthRequest) refreshToken(String refreshToken)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessToken
@Stability(Stable) public CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder accessToken(String accessToken) Sets the value ofCfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.getAccessToken()- Parameters:
accessToken- The credentials used to access protected Google Analytics resources.- Returns:
this
-
clientId
@Stability(Stable) public CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder clientId(String clientId) Sets the value ofCfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.getClientId()- Parameters:
clientId- The identifier for the desired client.- Returns:
this
-
clientSecret
@Stability(Stable) public CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder clientSecret(String clientSecret) Sets the value ofCfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.getClientSecret()- Parameters:
clientSecret- The client secret used by the OAuth client to authenticate to the authorization server.- Returns:
this
-
connectorOAuthRequest
@Stability(Stable) public CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(IResolvable connectorOAuthRequest) Sets the value ofCfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.getConnectorOAuthRequest()- Parameters:
connectorOAuthRequest- Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.- Returns:
this
-
connectorOAuthRequest
@Stability(Stable) public CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty connectorOAuthRequest) Sets the value ofCfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.getConnectorOAuthRequest()- Parameters:
connectorOAuthRequest- Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.- Returns:
this
-
refreshToken
@Stability(Stable) public CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder refreshToken(String refreshToken) Sets the value ofCfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty.getRefreshToken()- Parameters:
refreshToken- The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.- Returns:
this
-
build
@Stability(Stable) public CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty>- Returns:
- a new instance of
CfnConnectorProfilePropsMixin.GoogleAnalyticsConnectorProfileCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-