@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) |
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; useful for testing and debugging.
|
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)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.