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