Interface FreeTierUsage.Builder

    • Method Detail

      • actualUsageAmount

        FreeTierUsage.Builder actualUsageAmount​(Double actualUsageAmount)

        Describes the actual usage accrued month-to-day (MTD) that you've used so far.

        Parameters:
        actualUsageAmount - Describes the actual usage accrued month-to-day (MTD) that you've used so far.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        FreeTierUsage.Builder description​(String description)

        The description of the Free Tier offer.

        Parameters:
        description - The description of the Free Tier offer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • forecastedUsageAmount

        FreeTierUsage.Builder forecastedUsageAmount​(Double forecastedUsageAmount)

        Describes the forecasted usage by the month that you're expected to use.

        Parameters:
        forecastedUsageAmount - Describes the forecasted usage by the month that you're expected to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • freeTierType

        FreeTierUsage.Builder freeTierType​(String freeTierType)

        Describes the type of the Free Tier offer. For example, the offer can be "12 Months Free", "Always Free", and "Free Trial".

        Parameters:
        freeTierType - Describes the type of the Free Tier offer. For example, the offer can be "12 Months Free" , "Always Free", and "Free Trial".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • limit

        FreeTierUsage.Builder limit​(Double limit)

        Describes the maximum usage allowed in Free Tier.

        Parameters:
        limit - Describes the maximum usage allowed in Free Tier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operation

        FreeTierUsage.Builder operation​(String operation)

        Describes usageType more granularly with the specific Amazon Web Service API operation. For example, this can be the RunInstances API operation for Amazon Elastic Compute Cloud.

        Parameters:
        operation - Describes usageType more granularly with the specific Amazon Web Service API operation. For example, this can be the RunInstances API operation for Amazon Elastic Compute Cloud.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • region

        FreeTierUsage.Builder region​(String region)

        Describes the Amazon Web Services Region for which this offer is applicable

        Parameters:
        region - Describes the Amazon Web Services Region for which this offer is applicable
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • service

        FreeTierUsage.Builder service​(String service)

        The name of the Amazon Web Service providing the Free Tier offer. For example, this can be Amazon Elastic Compute Cloud.

        Parameters:
        service - The name of the Amazon Web Service providing the Free Tier offer. For example, this can be Amazon Elastic Compute Cloud.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        FreeTierUsage.Builder unit​(String unit)

        Describes the unit of the usageType, such as Hrs.

        Parameters:
        unit - Describes the unit of the usageType, such as Hrs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usageType

        FreeTierUsage.Builder usageType​(String usageType)

        Describes the usage details of the offer. For example, this might be Global-BoxUsage:freetrial.

        Parameters:
        usageType - Describes the usage details of the offer. For example, this might be Global-BoxUsage:freetrial.
        Returns:
        Returns a reference to this object so that method calls can be chained together.