Class FreeTierUsage
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<FreeTierUsage.Builder,- FreeTierUsage> 
Consists of a Amazon Web Services Free Tier offer’s metadata and your data usage for the offer.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionfinal DoubleDescribes the actual usage accrued month-to-day (MTD) that you've used so far.static FreeTierUsage.Builderbuilder()final StringThe description of the Free Tier offer.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final DoubleDescribes the forecasted usage by the month that you're expected to use.final StringDescribes the type of the Free Tier offer.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Doublelimit()Describes the maximum usage allowed in Free Tier.final StringDescribesusageTypemore granularly with the specific Amazon Web Services service API operation.final Stringregion()Describes the Amazon Web Services Region for which this offer is applicablestatic Class<? extends FreeTierUsage.Builder> final Stringservice()The name of the Amazon Web Services service providing the Free Tier offer.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringunit()Describes the unit of theusageType, such asHrs.final StringDescribes the usage details of the offer.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
serviceThe name of the Amazon Web Services service providing the Free Tier offer. For example, this can be Amazon Elastic Compute Cloud. - Returns:
- The name of the Amazon Web Services service providing the Free Tier offer. For example, this can be Amazon Elastic Compute Cloud.
 
- 
operationDescribes usageTypemore granularly with the specific Amazon Web Services service API operation. For example, this can be theRunInstancesAPI operation for Amazon Elastic Compute Cloud.- Returns:
- Describes usageTypemore granularly with the specific Amazon Web Services service API operation. For example, this can be theRunInstancesAPI operation for Amazon Elastic Compute Cloud.
 
- 
usageTypeDescribes the usage details of the offer. For example, this might be Global-BoxUsage:freetrial.- Returns:
- Describes the usage details of the offer. For example, this might be
         Global-BoxUsage:freetrial.
 
- 
regionDescribes the Amazon Web Services Region for which this offer is applicable - Returns:
- Describes the Amazon Web Services Region for which this offer is applicable
 
- 
actualUsageAmountDescribes the actual usage accrued month-to-day (MTD) that you've used so far. - Returns:
- Describes the actual usage accrued month-to-day (MTD) that you've used so far.
 
- 
forecastedUsageAmountDescribes the forecasted usage by the month that you're expected to use. - Returns:
- Describes the forecasted usage by the month that you're expected to use.
 
- 
limitDescribes the maximum usage allowed in Free Tier. - Returns:
- Describes the maximum usage allowed in Free Tier.
 
- 
unitDescribes the unit of the usageType, such asHrs.- Returns:
- Describes the unit of the usageType, such asHrs.
 
- 
descriptionThe description of the Free Tier offer. - Returns:
- The description of the Free Tier offer.
 
- 
freeTierTypeDescribes the type of the Free Tier offer. For example, the offer can be "12 Months Free","Always Free", and"Free Trial".- Returns:
- Describes the type of the Free Tier offer. For example, the offer can be "12 Months Free","Always Free", and"Free Trial".
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<FreeTierUsage.Builder,- FreeTierUsage> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-