Interface CreatePricingRuleRequest.Builder

  • Method Details

    • clientToken

      CreatePricingRuleRequest.Builder clientToken(String clientToken)

      The token that's needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

      Parameters:
      clientToken - The token that's needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The pricing rule name. The names must be unique to each pricing rule.

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

      CreatePricingRuleRequest.Builder description(String description)

      The pricing rule description.

      Parameters:
      description - The pricing rule description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.

      Parameters:
      scope - The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.

      Parameters:
      scope - The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of pricing rule.

      Parameters:
      type - The type of pricing rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of pricing rule.

      Parameters:
      type - The type of pricing rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • modifierPercentage

      CreatePricingRuleRequest.Builder modifierPercentage(Double modifierPercentage)

      A percentage modifier that's applied on the public pricing rates.

      Parameters:
      modifierPercentage - A percentage modifier that's applied on the public pricing rates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • service

      If the Scope attribute is set to SERVICE or SKU, the attribute indicates which service the PricingRule is applicable for.

      Parameters:
      service - If the Scope attribute is set to SERVICE or SKU, the attribute indicates which service the PricingRule is applicable for.
      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 rule.

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

      CreatePricingRuleRequest.Builder billingEntity(String billingEntity)

      The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.

      Parameters:
      billingEntity - The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tiering

      The set of tiering configurations for the pricing rule.

      Parameters:
      tiering - The set of tiering configurations for the pricing rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tiering

      The set of tiering configurations for the pricing rule.

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

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

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

      Usage type is the unit that each service uses to measure the usage of a specific type of resource.

      If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region.

       </p> 
       
      Parameters:
      usageType - Usage type is the unit that each service uses to measure the usage of a specific type of resource.

      If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region.

       </p> 
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operation

      Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item.

      If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance.

      Parameters:
      operation - Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item.

      If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance.

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

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