Interface AmazonPayConfigurationOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AmazonPayConfigurationOutput.Builder,,AmazonPayConfigurationOutput> SdkBuilder<AmazonPayConfigurationOutput.Builder,,AmazonPayConfigurationOutput> SdkPojo
- Enclosing class:
AmazonPayConfigurationOutput
-
Method Summary
Modifier and TypeMethodDescriptionamazonPayRegion(String amazonPayRegion) The Amazon Pay region the merchant's authorization token belongs to (NA or EU).amazonPayRegion(AmazonPayRegionType amazonPayRegion) The Amazon Pay region the merchant's authorization token belongs to (NA or EU).authorizationTokenArn(Consumer<Secret.Builder> authorizationTokenArn) ARN of the secret that holds the authorization token.authorizationTokenArn(Secret authorizationTokenArn) ARN of the secret that holds the authorization token.authorizationTokenJsonKey(String authorizationTokenJsonKey) JSON key of the authorization token inside the secret value, for an EXTERNAL secret.authorizationTokenSource(String authorizationTokenSource) Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.authorizationTokenSource(SecretSourceType authorizationTokenSource) Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.environment(String environment) Amazon Pay environment: LIVE or SANDBOX.environment(AmazonPayEnvironmentType environment) Amazon Pay environment: LIVE or SANDBOX.merchantId(String merchantId) Amazon Pay merchant ID (Seller ID) of the merchant account.Amazon Pay client store ID of the merchant's store.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
merchantId
Amazon Pay merchant ID (Seller ID) of the merchant account.
- Parameters:
merchantId- Amazon Pay merchant ID (Seller ID) of the merchant account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storeId
Amazon Pay client store ID of the merchant's store.
- Parameters:
storeId- Amazon Pay client store ID of the merchant's store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationTokenArn
ARN of the secret that holds the authorization token.
- Parameters:
authorizationTokenArn- ARN of the secret that holds the authorization token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationTokenArn
default AmazonPayConfigurationOutput.Builder authorizationTokenArn(Consumer<Secret.Builder> authorizationTokenArn) ARN of the secret that holds the authorization token.
This is a convenience method that creates an instance of theSecret.Builderavoiding the need to create one manually viaSecret.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizationTokenArn(Secret).- Parameters:
authorizationTokenArn- a consumer that will call methods onSecret.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationTokenJsonKey
JSON key of the authorization token inside the secret value, for an EXTERNAL secret.
- Parameters:
authorizationTokenJsonKey- JSON key of the authorization token inside the secret value, for an EXTERNAL secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationTokenSource
Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.
- Parameters:
authorizationTokenSource- Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationTokenSource
AmazonPayConfigurationOutput.Builder authorizationTokenSource(SecretSourceType authorizationTokenSource) Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.
- Parameters:
authorizationTokenSource- Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environment
Amazon Pay environment: LIVE or SANDBOX.
- Parameters:
environment- Amazon Pay environment: LIVE or SANDBOX.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environment
Amazon Pay environment: LIVE or SANDBOX.
- Parameters:
environment- Amazon Pay environment: LIVE or SANDBOX.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
amazonPayRegion
The Amazon Pay region the merchant's authorization token belongs to (NA or EU).
- Parameters:
amazonPayRegion- The Amazon Pay region the merchant's authorization token belongs to (NA or EU).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
amazonPayRegion
The Amazon Pay region the merchant's authorization token belongs to (NA or EU).
- Parameters:
amazonPayRegion- The Amazon Pay region the merchant's authorization token belongs to (NA or EU).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-