Interface PricingRuleListElement.Builder

    • Method Detail

      • name

        PricingRuleListElement.Builder name​(String name)

        The name of a pricing rule.

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

        PricingRuleListElement.Builder arn​(String arn)

        The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.

        Parameters:
        arn - The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

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

        PricingRuleListElement.Builder scope​(String scope)

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

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

        PricingRuleListElement.Builder scope​(PricingRuleScope scope)

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

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

        PricingRuleListElement.Builder modifierPercentage​(Double modifierPercentage)

        A percentage modifier applied on the public pricing rates.

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

        PricingRuleListElement.Builder service​(String service)

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

        Parameters:
        service - If the Scope attribute is SERVICE, this 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

        PricingRuleListElement.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.
      • creationTime

        PricingRuleListElement.Builder creationTime​(Long creationTime)

        The time when the pricing rule was created.

        Parameters:
        creationTime - The time when the pricing rule was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTime

        PricingRuleListElement.Builder lastModifiedTime​(Long lastModifiedTime)

        The most recent time when the pricing rule was modified.

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

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

        PricingRuleListElement.Builder tiering​(Tiering 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

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

         </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

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