public static final class CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.Builder |
accessToken(java.lang.String accessToken)
|
CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty |
build()
Builds the configured instance.
|
CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.Builder |
clientId(java.lang.String clientId)
|
CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.Builder |
clientSecret(java.lang.String clientSecret)
|
CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.Builder |
connectorOAuthRequest(CfnConnectorProfile.ConnectorOAuthRequestProperty connectorOAuthRequest)
|
CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.Builder |
connectorOAuthRequest(IResolvable connectorOAuthRequest)
|
public CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.Builder clientId(java.lang.String clientId)
clientId
- The identifier for the desired client. This parameter is required.this
public CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.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.MarketoConnectorProfileCredentialsProperty.Builder accessToken(java.lang.String accessToken)
accessToken
- The credentials used to access protected Marketo resources.this
public CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(IResolvable connectorOAuthRequest)
CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.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.MarketoConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(CfnConnectorProfile.ConnectorOAuthRequestProperty connectorOAuthRequest)
CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty.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.MarketoConnectorProfileCredentialsProperty build()
CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty
java.lang.NullPointerException
- if any required attribute was not provided