@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FreeTierUsage extends Object implements Serializable, Cloneable, StructuredPojo
Consists of a Amazon Web Services Free Tier offer’s metadata and your data usage for the offer.
Constructor and Description |
---|
FreeTierUsage() |
Modifier and Type | Method and Description |
---|---|
FreeTierUsage |
clone() |
boolean |
equals(Object obj) |
Double |
getActualUsageAmount()
Describes the actual usage accrued month-to-day (MTD) that you've used so far.
|
String |
getDescription()
The description of the Free Tier offer.
|
Double |
getForecastedUsageAmount()
Describes the forecasted usage by the month that you're expected to use.
|
String |
getFreeTierType()
Describes the type of the Free Tier offer.
|
Double |
getLimit()
Describes the maximum usage allowed in Free Tier.
|
String |
getOperation()
Describes
usageType more granularly with the specific Amazon Web Service API operation. |
String |
getRegion()
Describes the Amazon Web Services Region for which this offer is applicable
|
String |
getService()
The name of the Amazon Web Service providing the Free Tier offer.
|
String |
getUnit()
Describes the unit of the
usageType , such as Hrs . |
String |
getUsageType()
Describes the usage details of the offer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActualUsageAmount(Double actualUsageAmount)
Describes the actual usage accrued month-to-day (MTD) that you've used so far.
|
void |
setDescription(String description)
The description of the Free Tier offer.
|
void |
setForecastedUsageAmount(Double forecastedUsageAmount)
Describes the forecasted usage by the month that you're expected to use.
|
void |
setFreeTierType(String freeTierType)
Describes the type of the Free Tier offer.
|
void |
setLimit(Double limit)
Describes the maximum usage allowed in Free Tier.
|
void |
setOperation(String operation)
Describes
usageType more granularly with the specific Amazon Web Service API operation. |
void |
setRegion(String region)
Describes the Amazon Web Services Region for which this offer is applicable
|
void |
setService(String service)
The name of the Amazon Web Service providing the Free Tier offer.
|
void |
setUnit(String unit)
Describes the unit of the
usageType , such as Hrs . |
void |
setUsageType(String usageType)
Describes the usage details of the offer.
|
String |
toString()
Returns a string representation of this object.
|
FreeTierUsage |
withActualUsageAmount(Double actualUsageAmount)
Describes the actual usage accrued month-to-day (MTD) that you've used so far.
|
FreeTierUsage |
withDescription(String description)
The description of the Free Tier offer.
|
FreeTierUsage |
withForecastedUsageAmount(Double forecastedUsageAmount)
Describes the forecasted usage by the month that you're expected to use.
|
FreeTierUsage |
withFreeTierType(String freeTierType)
Describes the type of the Free Tier offer.
|
FreeTierUsage |
withLimit(Double limit)
Describes the maximum usage allowed in Free Tier.
|
FreeTierUsage |
withOperation(String operation)
Describes
usageType more granularly with the specific Amazon Web Service API operation. |
FreeTierUsage |
withRegion(String region)
Describes the Amazon Web Services Region for which this offer is applicable
|
FreeTierUsage |
withService(String service)
The name of the Amazon Web Service providing the Free Tier offer.
|
FreeTierUsage |
withUnit(String unit)
Describes the unit of the
usageType , such as Hrs . |
FreeTierUsage |
withUsageType(String usageType)
Describes the usage details of the offer.
|
public void setActualUsageAmount(Double actualUsageAmount)
Describes the actual usage accrued month-to-day (MTD) that you've used so far.
actualUsageAmount
- Describes the actual usage accrued month-to-day (MTD) that you've used so far.public Double getActualUsageAmount()
Describes the actual usage accrued month-to-day (MTD) that you've used so far.
public FreeTierUsage withActualUsageAmount(Double actualUsageAmount)
Describes the actual usage accrued month-to-day (MTD) that you've used so far.
actualUsageAmount
- Describes the actual usage accrued month-to-day (MTD) that you've used so far.public void setDescription(String description)
The description of the Free Tier offer.
description
- The description of the Free Tier offer.public String getDescription()
The description of the Free Tier offer.
public FreeTierUsage withDescription(String description)
The description of the Free Tier offer.
description
- The description of the Free Tier offer.public void setForecastedUsageAmount(Double forecastedUsageAmount)
Describes the forecasted usage by the month that you're expected to use.
forecastedUsageAmount
- Describes the forecasted usage by the month that you're expected to use.public Double getForecastedUsageAmount()
Describes the forecasted usage by the month that you're expected to use.
public FreeTierUsage withForecastedUsageAmount(Double forecastedUsageAmount)
Describes the forecasted usage by the month that you're expected to use.
forecastedUsageAmount
- Describes the forecasted usage by the month that you're expected to use.public void setFreeTierType(String freeTierType)
Describes the type of the Free Tier offer. For example, the offer can be "12 Months Free"
,
"Always Free"
, and "Free Trial"
.
freeTierType
- Describes the type of the Free Tier offer. For example, the offer can be "12 Months Free"
,
"Always Free"
, and "Free Trial"
.public String getFreeTierType()
Describes the type of the Free Tier offer. For example, the offer can be "12 Months Free"
,
"Always Free"
, and "Free Trial"
.
"12 Months Free"
,
"Always Free"
, and "Free Trial"
.public FreeTierUsage withFreeTierType(String freeTierType)
Describes the type of the Free Tier offer. For example, the offer can be "12 Months Free"
,
"Always Free"
, and "Free Trial"
.
freeTierType
- Describes the type of the Free Tier offer. For example, the offer can be "12 Months Free"
,
"Always Free"
, and "Free Trial"
.public void setLimit(Double limit)
Describes the maximum usage allowed in Free Tier.
limit
- Describes the maximum usage allowed in Free Tier.public Double getLimit()
Describes the maximum usage allowed in Free Tier.
public FreeTierUsage withLimit(Double limit)
Describes the maximum usage allowed in Free Tier.
limit
- Describes the maximum usage allowed in Free Tier.public void setOperation(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.
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.public String getOperation()
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.
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.public FreeTierUsage withOperation(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.
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.public void setRegion(String region)
Describes the Amazon Web Services Region for which this offer is applicable
region
- Describes the Amazon Web Services Region for which this offer is applicablepublic String getRegion()
Describes the Amazon Web Services Region for which this offer is applicable
public FreeTierUsage withRegion(String region)
Describes the Amazon Web Services Region for which this offer is applicable
region
- Describes the Amazon Web Services Region for which this offer is applicablepublic void setService(String service)
The name of the Amazon Web Service providing the Free Tier offer. For example, this can be Amazon Elastic Compute Cloud.
service
- The name of the Amazon Web Service providing the Free Tier offer. For example, this can be Amazon Elastic
Compute Cloud.public String getService()
The name of the Amazon Web Service providing the Free Tier offer. For example, this can be Amazon Elastic Compute Cloud.
public FreeTierUsage withService(String service)
The name of the Amazon Web Service providing the Free Tier offer. For example, this can be Amazon Elastic Compute Cloud.
service
- The name of the Amazon Web Service providing the Free Tier offer. For example, this can be Amazon Elastic
Compute Cloud.public void setUnit(String unit)
Describes the unit of the usageType
, such as Hrs
.
unit
- Describes the unit of the usageType
, such as Hrs
.public String getUnit()
Describes the unit of the usageType
, such as Hrs
.
usageType
, such as Hrs
.public FreeTierUsage withUnit(String unit)
Describes the unit of the usageType
, such as Hrs
.
unit
- Describes the unit of the usageType
, such as Hrs
.public void setUsageType(String usageType)
Describes the usage details of the offer. For example, this might be Global-BoxUsage:freetrial
.
usageType
- Describes the usage details of the offer. For example, this might be
Global-BoxUsage:freetrial
.public String getUsageType()
Describes the usage details of the offer. For example, this might be Global-BoxUsage:freetrial
.
Global-BoxUsage:freetrial
.public FreeTierUsage withUsageType(String usageType)
Describes the usage details of the offer. For example, this might be Global-BoxUsage:freetrial
.
usageType
- Describes the usage details of the offer. For example, this might be
Global-BoxUsage:freetrial
.public String toString()
toString
in class Object
Object.toString()
public FreeTierUsage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.