Class CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty>
- Enclosing interface:
CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty
@Stability(Stable)
public static final class CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty>
-
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)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessToken
@Stability(Stable) public CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.Builder accessToken(String accessToken) Sets the value ofCfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.getAccessToken()- Parameters:
accessToken- The credentials used to access protected Zendesk resources.- Returns:
this
-
clientId
@Stability(Stable) public CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.Builder clientId(String clientId) Sets the value ofCfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.getClientId()- Parameters:
clientId- The identifier for the desired client.- Returns:
this
-
clientSecret
@Stability(Stable) public CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.Builder clientSecret(String clientSecret) Sets the value ofCfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.getClientSecret()- Parameters:
clientSecret- The client secret used by the OAuth client to authenticate to the authorization server.- Returns:
this
-
connectorOAuthRequest
@Stability(Stable) public CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(IResolvable connectorOAuthRequest) Sets the value ofCfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.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.ZendeskConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(CfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty connectorOAuthRequest) Sets the value ofCfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty.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
-
build
@Stability(Stable) public CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty>- Returns:
- a new instance of
CfnConnectorProfilePropsMixin.ZendeskConnectorProfileCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-