Interface CreatePaymentManagerRequest.Builder

  • Method Details

    • name

      The name of the payment manager.

      Parameters:
      name - The name of the payment manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreatePaymentManagerRequest.Builder description(String description)

      A description of the payment manager.

      Parameters:
      description - A description of the payment manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizerType

      CreatePaymentManagerRequest.Builder authorizerType(String authorizerType)

      The type of authorizer to use for the payment manager.

      • CUSTOM_JWT - Authorize with a bearer token.

      • AWS_IAM - Authorize with your Amazon Web Services IAM credentials.

      Parameters:
      authorizerType - The type of authorizer to use for the payment manager.

      • CUSTOM_JWT - Authorize with a bearer token.

      • AWS_IAM - Authorize with your Amazon Web Services IAM credentials.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authorizerType

      The type of authorizer to use for the payment manager.

      • CUSTOM_JWT - Authorize with a bearer token.

      • AWS_IAM - Authorize with your Amazon Web Services IAM credentials.

      Parameters:
      authorizerType - The type of authorizer to use for the payment manager.

      • CUSTOM_JWT - Authorize with a bearer token.

      • AWS_IAM - Authorize with your Amazon Web Services IAM credentials.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authorizerConfiguration

      CreatePaymentManagerRequest.Builder authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration)

      The authorizer configuration for the payment manager.

      Parameters:
      authorizerConfiguration - The authorizer configuration for the payment manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizerConfiguration

      default CreatePaymentManagerRequest.Builder authorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration)

      The authorizer configuration for the payment manager.

      This is a convenience method that creates an instance of the AuthorizerConfiguration.Builder avoiding the need to create one manually via AuthorizerConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to authorizerConfiguration(AuthorizerConfiguration).

      Parameters:
      authorizerConfiguration - a consumer that will call methods on AuthorizerConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleArn

      The Amazon Resource Name (ARN) of the IAM role that the payment manager assumes to access resources on your behalf.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the IAM role that the payment manager assumes to access resources on your behalf.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreatePaymentManagerRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A map of tag keys and values to assign to the payment manager.

      Parameters:
      tags - A map of tag keys and values to assign to the payment manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyArn

      The Amazon Resource Name (ARN) of the customer managed KMS key to use for encrypting sensitive payment manager data at rest. If you don't specify a key, the data is encrypted with an Amazon Web Services owned key.

      Parameters:
      kmsKeyArn - The Amazon Resource Name (ARN) of the customer managed KMS key to use for encrypting sensitive payment manager data at rest. If you don't specify a key, the data is encrypted with an Amazon Web Services owned key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreatePaymentManagerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.