Interface CreatePricingPlanRequest.Builder

  • Method Details

    • clientToken

      CreatePricingPlanRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the pricing plan. The names must be unique to each pricing plan.

      Parameters:
      name - The name of the pricing plan. The names must be unique to each pricing plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreatePricingPlanRequest.Builder description(String description)

      The description of the pricing plan.

      Parameters:
      description - The description of the pricing plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricingRuleArns

      CreatePricingPlanRequest.Builder pricingRuleArns(Collection<String> pricingRuleArns)

      A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.

      Parameters:
      pricingRuleArns - A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricingRuleArns

      CreatePricingPlanRequest.Builder pricingRuleArns(String... pricingRuleArns)

      A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.

      Parameters:
      pricingRuleArns - A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A map that contains tag keys and tag values that are attached to a pricing plan.

      Parameters:
      tags - A map that contains tag keys and tag values that are attached to a pricing plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreatePricingPlanRequest.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.