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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PardotConnectorProfileCredentials.BuilderaccessToken(String accessToken)The credentials used to access protected Salesforce Pardot resources.PardotConnectorProfileCredentials.BuilderclientCredentialsArn(String clientCredentialsArn)The secret manager ARN, which contains the client ID and client secret of the connected app.default PardotConnectorProfileCredentials.BuilderoAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)Sets the value of the OAuthRequest property for this object.PardotConnectorProfileCredentials.BuilderoAuthRequest(ConnectorOAuthRequest oAuthRequest)Sets the value of the OAuthRequest property for this object.PardotConnectorProfileCredentials.BuilderrefreshToken(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 Detail
-
accessToken
PardotConnectorProfileCredentials.Builder accessToken(String 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
PardotConnectorProfileCredentials.Builder refreshToken(String 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
PardotConnectorProfileCredentials.Builder oAuthRequest(ConnectorOAuthRequest 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.Builderavoiding the need to create one manually viaConnectorOAuthRequest.builder().When the
Consumercompletes,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:
oAuthRequest(ConnectorOAuthRequest)
-
clientCredentialsArn
PardotConnectorProfileCredentials.Builder clientCredentialsArn(String 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.
-
-