Interface PardotConnectorProfileCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PardotConnectorProfileCredentials.Builder,
,PardotConnectorProfileCredentials> SdkBuilder<PardotConnectorProfileCredentials.Builder,
,PardotConnectorProfileCredentials> SdkPojo
- Enclosing class:
PardotConnectorProfileCredentials
public static interface PardotConnectorProfileCredentials.Builder
extends SdkPojo, CopyableBuilder<PardotConnectorProfileCredentials.Builder,PardotConnectorProfileCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) The credentials used to access protected Salesforce Pardot resources.clientCredentialsArn
(String clientCredentialsArn) The secret manager ARN, which contains the client ID and client secret of the connected app.oAuthRequest
(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest) Sets the value of the OAuthRequest property for this object.oAuthRequest
(ConnectorOAuthRequest oAuthRequest) Sets the value of the OAuthRequest property for this object.refreshToken
(String refreshToken) The credentials used to acquire new access tokens.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accessToken
The credentials used to access protected Salesforce Pardot resources.
- Parameters:
accessToken
- The credentials used to access protected Salesforce Pardot resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshToken
The credentials used to acquire new access tokens.
- Parameters:
refreshToken
- The credentials used to acquire new access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthRequest
Sets the value of the OAuthRequest property for this object.- Parameters:
oAuthRequest
- The new value for the OAuthRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthRequest
default PardotConnectorProfileCredentials.Builder oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest) Sets the value of the OAuthRequest property for this object. This is a convenience method that creates an instance of theConnectorOAuthRequest.Builder
avoiding the need to create one manually viaConnectorOAuthRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuthRequest(ConnectorOAuthRequest)
.- Parameters:
oAuthRequest
- a consumer that will call methods onConnectorOAuthRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientCredentialsArn
The secret manager ARN, which contains the client ID and client secret of the connected app.
- Parameters:
clientCredentialsArn
- The secret manager ARN, which contains the client ID and client secret of the connected app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-