@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservationUtilizationGroup extends Object implements Serializable, Cloneable, StructuredPojo
A group of reservations that share a set of attributes.
Constructor and Description |
---|
ReservationUtilizationGroup() |
Modifier and Type | Method and Description |
---|---|
ReservationUtilizationGroup |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
ReservationUtilizationGroup |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
ReservationUtilizationGroup |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
The attributes for this group of reservations.
|
String |
getKey()
The key for a specific reservation attribute.
|
ReservationAggregates |
getUtilization()
How much you used this group of reservations.
|
String |
getValue()
The value of a specific reservation attribute.
|
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 |
setKey(String key)
The key for a specific reservation attribute.
|
void |
setUtilization(ReservationAggregates utilization)
How much you used this group of reservations.
|
void |
setValue(String value)
The value of a specific reservation attribute.
|
String |
toString()
Returns a string representation of this object.
|
ReservationUtilizationGroup |
withAttributes(Map<String,String> attributes)
The attributes for this group of reservations.
|
ReservationUtilizationGroup |
withKey(String key)
The key for a specific reservation attribute.
|
ReservationUtilizationGroup |
withUtilization(ReservationAggregates utilization)
How much you used this group of reservations.
|
ReservationUtilizationGroup |
withValue(String value)
The value of a specific reservation attribute.
|
public void setKey(String key)
The key for a specific reservation attribute.
key
- The key for a specific reservation attribute.public String getKey()
The key for a specific reservation attribute.
public ReservationUtilizationGroup withKey(String key)
The key for a specific reservation attribute.
key
- The key for a specific reservation attribute.public void setValue(String value)
The value of a specific reservation attribute.
value
- The value of a specific reservation attribute.public String getValue()
The value of a specific reservation attribute.
public ReservationUtilizationGroup withValue(String value)
The value of a specific reservation attribute.
value
- The value of a specific reservation attribute.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 ReservationUtilizationGroup withAttributes(Map<String,String> attributes)
The attributes for this group of reservations.
attributes
- The attributes for this group of reservations.public ReservationUtilizationGroup addAttributesEntry(String key, String value)
public ReservationUtilizationGroup clearAttributesEntries()
public void setUtilization(ReservationAggregates utilization)
How much you used this group of reservations.
utilization
- How much you used this group of reservations.public ReservationAggregates getUtilization()
How much you used this group of reservations.
public ReservationUtilizationGroup withUtilization(ReservationAggregates utilization)
How much you used this group of reservations.
utilization
- How much you used this group of reservations.public String toString()
toString
in class Object
Object.toString()
public ReservationUtilizationGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.