Interface UpdatePricingRuleResponse.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the successfully updated pricing rule.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the successfully updated pricing rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The new name of the pricing rule. The name must be unique to each pricing rule.

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

      UpdatePricingRuleResponse.Builder description(String description)

      The new description for the pricing rule.

      Parameters:
      description - The new description for the pricing rule.
      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 new pricing rule type.

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

      The new pricing rule type.

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

      UpdatePricingRuleResponse.Builder modifierPercentage(Double modifierPercentage)

      The new modifier to show pricing plan rates as a percentage.

      Parameters:
      modifierPercentage - The new modifier to show pricing plan rates as a percentage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • service

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

      Parameters:
      service - If the Scope attribute is set to SERVICE, 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.
    • associatedPricingPlanCount

      UpdatePricingRuleResponse.Builder associatedPricingPlanCount(Long associatedPricingPlanCount)

      The pricing plans count that this pricing rule is associated with.

      Parameters:
      associatedPricingPlanCount - The pricing plans count that this pricing rule is associated with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      UpdatePricingRuleResponse.Builder lastModifiedTime(Long lastModifiedTime)

      The most recent time the pricing rule was modified.

      Parameters:
      lastModifiedTime - The most recent time the pricing rule was modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingEntity

      UpdatePricingRuleResponse.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 UpdateTieringInput.Builder avoiding the need to create one manually via UpdateTieringInput.builder().

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

      Parameters:
      tiering - a consumer that will call methods on UpdateTieringInput.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.

      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.

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

      Operation refers to the specific Amazon Web Services 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 refers to the specific Amazon Web Services 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.