Interface UpdatePricingRuleResponse.Builder

    • Method Detail

      • arn

        UpdatePricingRuleResponse.Builder arn​(String 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

        UpdatePricingRuleResponse.Builder name​(String 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

        UpdatePricingRuleResponse.Builder scope​(String 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:
        PricingRuleScope, PricingRuleScope
      • scope

        UpdatePricingRuleResponse.Builder scope​(PricingRuleScope 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:
        PricingRuleScope, PricingRuleScope
      • 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

        UpdatePricingRuleResponse.Builder service​(String 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

        UpdatePricingRuleResponse.Builder tiering​(UpdateTieringInput 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.
      • usageType

        UpdatePricingRuleResponse.Builder usageType​(String 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

        UpdatePricingRuleResponse.Builder operation​(String 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.