@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservationCoverageGroup extends Object implements Serializable, Cloneable, StructuredPojo
A group of reservations that share a set of attributes.
Constructor and Description |
---|
ReservationCoverageGroup() |
Modifier and Type | Method and Description |
---|---|
ReservationCoverageGroup |
addAttributesEntry(String key,
String value) |
ReservationCoverageGroup |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
ReservationCoverageGroup |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
The attributes for this group of reservations.
|
Coverage |
getCoverage()
How much instance usage this group of reservations covered.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
The attributes for this group of reservations.
|
void |
setCoverage(Coverage coverage)
How much instance usage this group of reservations covered.
|
String |
toString()
Returns a string representation of this object.
|
ReservationCoverageGroup |
withAttributes(Map<String,String> attributes)
The attributes for this group of reservations.
|
ReservationCoverageGroup |
withCoverage(Coverage coverage)
How much instance usage this group of reservations covered.
|
public Map<String,String> getAttributes()
The attributes for this group of reservations.
public void setAttributes(Map<String,String> attributes)
The attributes for this group of reservations.
attributes
- The attributes for this group of reservations.public ReservationCoverageGroup withAttributes(Map<String,String> attributes)
The attributes for this group of reservations.
attributes
- The attributes for this group of reservations.public ReservationCoverageGroup addAttributesEntry(String key, String value)
public ReservationCoverageGroup clearAttributesEntries()
public void setCoverage(Coverage coverage)
How much instance usage this group of reservations covered.
coverage
- How much instance usage this group of reservations covered.public Coverage getCoverage()
How much instance usage this group of reservations covered.
public ReservationCoverageGroup withCoverage(Coverage coverage)
How much instance usage this group of reservations covered.
coverage
- How much instance usage this group of reservations covered.public String toString()
toString
in class Object
Object.toString()
public ReservationCoverageGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.