@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlansCoverage extends Object implements Serializable, Cloneable, StructuredPojo
The amount of Savings Plans eligible usage that's covered by Savings Plans. All calculations consider the On-Demand equivalent of your Savings Plans usage.
Constructor and Description |
---|
SavingsPlansCoverage() |
Modifier and Type | Method and Description |
---|---|
SavingsPlansCoverage |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
SavingsPlansCoverage |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
SavingsPlansCoverage |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
The attribute that applies to a specific
Dimension . |
SavingsPlansCoverageData |
getCoverage()
The amount of Savings Plans eligible usage that the Savings Plans covered.
|
DateInterval |
getTimePeriod() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
The attribute that applies to a specific
Dimension . |
void |
setCoverage(SavingsPlansCoverageData coverage)
The amount of Savings Plans eligible usage that the Savings Plans covered.
|
void |
setTimePeriod(DateInterval timePeriod) |
String |
toString()
Returns a string representation of this object.
|
SavingsPlansCoverage |
withAttributes(Map<String,String> attributes)
The attribute that applies to a specific
Dimension . |
SavingsPlansCoverage |
withCoverage(SavingsPlansCoverageData coverage)
The amount of Savings Plans eligible usage that the Savings Plans covered.
|
SavingsPlansCoverage |
withTimePeriod(DateInterval timePeriod) |
public Map<String,String> getAttributes()
The attribute that applies to a specific Dimension
.
Dimension
.public void setAttributes(Map<String,String> attributes)
The attribute that applies to a specific Dimension
.
attributes
- The attribute that applies to a specific Dimension
.public SavingsPlansCoverage withAttributes(Map<String,String> attributes)
The attribute that applies to a specific Dimension
.
attributes
- The attribute that applies to a specific Dimension
.public SavingsPlansCoverage addAttributesEntry(String key, String value)
public SavingsPlansCoverage clearAttributesEntries()
public void setCoverage(SavingsPlansCoverageData coverage)
The amount of Savings Plans eligible usage that the Savings Plans covered.
coverage
- The amount of Savings Plans eligible usage that the Savings Plans covered.public SavingsPlansCoverageData getCoverage()
The amount of Savings Plans eligible usage that the Savings Plans covered.
public SavingsPlansCoverage withCoverage(SavingsPlansCoverageData coverage)
The amount of Savings Plans eligible usage that the Savings Plans covered.
coverage
- The amount of Savings Plans eligible usage that the Savings Plans covered.public void setTimePeriod(DateInterval timePeriod)
timePeriod
- public DateInterval getTimePeriod()
public SavingsPlansCoverage withTimePeriod(DateInterval timePeriod)
timePeriod
- public String toString()
toString
in class Object
Object.toString()
public SavingsPlansCoverage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.