public static final class CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder |
accessToken(java.lang.String accessToken)
|
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty |
build()
Builds the configured instance.
|
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder |
clientId(java.lang.String clientId)
|
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder |
clientSecret(java.lang.String clientSecret)
|
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder |
connectorOAuthRequest(CfnConnectorProfile.ConnectorOAuthRequestProperty connectorOAuthRequest)
|
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder |
connectorOAuthRequest(IResolvable connectorOAuthRequest)
|
public CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder clientId(java.lang.String clientId)
clientId
- The identifier for the client. This parameter is required.this
public CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder clientSecret(java.lang.String clientSecret)
clientSecret
- The client secret used by the OAuth client to authenticate to the authorization server. This parameter is required.this
public CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder accessToken(java.lang.String accessToken)
accessToken
- The credentials used to access protected Slack resources.this
public CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(IResolvable connectorOAuthRequest)
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.getConnectorOAuthRequest()
connectorOAuthRequest
- Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.this
public CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(CfnConnectorProfile.ConnectorOAuthRequestProperty connectorOAuthRequest)
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.getConnectorOAuthRequest()
connectorOAuthRequest
- Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.this
public CfnConnectorProfile.SlackConnectorProfileCredentialsProperty build()
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty
java.lang.NullPointerException
- if any required attribute was not provided