public static interface PardotConnectorProfileCredentials.Builder extends SdkPojo, CopyableBuilder<PardotConnectorProfileCredentials.Builder,PardotConnectorProfileCredentials>
| Modifier and Type | Method and Description |
|---|---|
PardotConnectorProfileCredentials.Builder |
accessToken(String accessToken)
The credentials used to access protected Salesforce Pardot resources.
|
PardotConnectorProfileCredentials.Builder |
clientCredentialsArn(String clientCredentialsArn)
The secret manager ARN, which contains the client ID and client secret of the connected app.
|
PardotConnectorProfileCredentials.Builder |
oAuthRequest(ConnectorOAuthRequest oAuthRequest)
Sets the value of the OAuthRequest property for this object.
|
default PardotConnectorProfileCredentials.Builder |
oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)
Sets the value of the OAuthRequest property for this object.
|
PardotConnectorProfileCredentials.Builder |
refreshToken(String refreshToken)
The credentials used to acquire new access tokens.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPardotConnectorProfileCredentials.Builder accessToken(String accessToken)
The credentials used to access protected Salesforce Pardot resources.
accessToken - The credentials used to access protected Salesforce Pardot resources.PardotConnectorProfileCredentials.Builder refreshToken(String refreshToken)
The credentials used to acquire new access tokens.
refreshToken - The credentials used to acquire new access tokens.PardotConnectorProfileCredentials.Builder oAuthRequest(ConnectorOAuthRequest oAuthRequest)
oAuthRequest - The new value for the OAuthRequest property for this object.default PardotConnectorProfileCredentials.Builder oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)
ConnectorOAuthRequest.Builder avoiding
the need to create one manually via ConnectorOAuthRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to oAuthRequest(ConnectorOAuthRequest).
oAuthRequest - a consumer that will call methods on ConnectorOAuthRequest.BuilderoAuthRequest(ConnectorOAuthRequest)PardotConnectorProfileCredentials.Builder clientCredentialsArn(String clientCredentialsArn)
The secret manager ARN, which contains the client ID and client secret of the connected app.
clientCredentialsArn - The secret manager ARN, which contains the client ID and client secret of the connected app.Copyright © 2023. All rights reserved.