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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Double
Describes the actual usage accrued month-to-day (MTD) that you've used so far.static FreeTierUsage.Builder
builder()
final String
The description of the Free Tier offer.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Double
Describes the forecasted usage by the month that you're expected to use.final String
Describes the type of the Free Tier offer.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Double
limit()
Describes the maximum usage allowed in Free Tier.final String
DescribesusageType
more granularly with the specific Amazon Web Service API operation.final String
region()
Describes the Amazon Web Services Region for which this offer is applicablestatic Class
<? extends FreeTierUsage.Builder> final String
service()
The name of the Amazon Web 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 String
toString()
Returns a string representation of this object.final String
unit()
Describes the unit of theusageType
, such asHrs
.final String
Describes the usage details of the offer.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
actualUsageAmount
Describes 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.
-
description
The description of the Free Tier offer.
- Returns:
- The description of the Free Tier offer.
-
forecastedUsageAmount
Describes 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.
-
freeTierType
Describes 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"
.
-
limit
Describes the maximum usage allowed in Free Tier.
- Returns:
- Describes the maximum usage allowed in Free Tier.
-
operation
Describes
usageType
more granularly with the specific Amazon Web Service API operation. For example, this can be theRunInstances
API operation for Amazon Elastic Compute Cloud.- Returns:
- Describes
usageType
more granularly with the specific Amazon Web Service API operation. For example, this can be theRunInstances
API operation for Amazon Elastic Compute Cloud.
-
region
Describes the Amazon Web Services Region for which this offer is applicable
- Returns:
- Describes the Amazon Web Services Region for which this offer is applicable
-
service
The name of the Amazon Web Service providing the Free Tier offer. For example, this can be Amazon Elastic Compute Cloud.
- Returns:
- The name of the Amazon Web Service providing the Free Tier offer. For example, this can be Amazon Elastic Compute Cloud.
-
unit
Describes the unit of the
usageType
, such asHrs
.- Returns:
- Describes the unit of the
usageType
, such asHrs
.
-
usageType
Describes 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
.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<FreeTierUsage.Builder,
FreeTierUsage> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-