public static final class CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder |
accessToken(java.lang.String accessToken)
|
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty |
build()
Builds the configured instance.
|
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder |
clientCredentialsArn(java.lang.String clientCredentialsArn)
|
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder |
connectorOAuthRequest(CfnConnectorProfile.ConnectorOAuthRequestProperty connectorOAuthRequest)
|
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder |
connectorOAuthRequest(IResolvable connectorOAuthRequest)
|
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder |
refreshToken(java.lang.String refreshToken)
|
public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder accessToken(java.lang.String accessToken)
accessToken
- The credentials used to access protected Salesforce Pardot resources.this
public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder clientCredentialsArn(java.lang.String clientCredentialsArn)
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.getClientCredentialsArn()
clientCredentialsArn
- The secret manager ARN, which contains the client ID and client secret of the connected app.this
public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(IResolvable connectorOAuthRequest)
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.getConnectorOAuthRequest()
connectorOAuthRequest
- `CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.ConnectorOAuthRequest`.this
public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder connectorOAuthRequest(CfnConnectorProfile.ConnectorOAuthRequestProperty connectorOAuthRequest)
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.getConnectorOAuthRequest()
connectorOAuthRequest
- `CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.ConnectorOAuthRequest`.this
public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.Builder refreshToken(java.lang.String refreshToken)
refreshToken
- The credentials used to acquire new access tokens.this
public CfnConnectorProfile.PardotConnectorProfileCredentialsProperty build()
CfnConnectorProfile.PardotConnectorProfileCredentialsProperty
java.lang.NullPointerException
- if any required attribute was not provided