@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservationUtilizationGroup extends Object implements Serializable, Cloneable, StructuredPojo
A group of RIs that share a set of attributes.
Constructor and Description |
---|
ReservationUtilizationGroup() |
Modifier and Type | Method and Description |
---|---|
ReservationUtilizationGroup |
addAttributesEntry(String key,
String value) |
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 RIs.
|
String |
getKey()
The key for a specific RI attribute.
|
ReservationAggregates |
getUtilization()
How much you used this group of RIs.
|
String |
getValue()
The value of a specific RI attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributes(Map<String,String> attributes)
The attributes for this group of RIs.
|
void |
setKey(String key)
The key for a specific RI attribute.
|
void |
setUtilization(ReservationAggregates utilization)
How much you used this group of RIs.
|
void |
setValue(String value)
The value of a specific RI attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReservationUtilizationGroup |
withAttributes(Map<String,String> attributes)
The attributes for this group of RIs.
|
ReservationUtilizationGroup |
withKey(String key)
The key for a specific RI attribute.
|
ReservationUtilizationGroup |
withUtilization(ReservationAggregates utilization)
How much you used this group of RIs.
|
ReservationUtilizationGroup |
withValue(String value)
The value of a specific RI attribute.
|
public void setKey(String key)
The key for a specific RI attribute.
key
- The key for a specific RI attribute.public String getKey()
The key for a specific RI attribute.
public ReservationUtilizationGroup withKey(String key)
The key for a specific RI attribute.
key
- The key for a specific RI attribute.public void setValue(String value)
The value of a specific RI attribute.
value
- The value of a specific RI attribute.public String getValue()
The value of a specific RI attribute.
public ReservationUtilizationGroup withValue(String value)
The value of a specific RI attribute.
value
- The value of a specific RI attribute.public Map<String,String> getAttributes()
The attributes for this group of RIs.
public void setAttributes(Map<String,String> attributes)
The attributes for this group of RIs.
attributes
- The attributes for this group of RIs.public ReservationUtilizationGroup withAttributes(Map<String,String> attributes)
The attributes for this group of RIs.
attributes
- The attributes for this group of RIs.public ReservationUtilizationGroup addAttributesEntry(String key, String value)
public ReservationUtilizationGroup clearAttributesEntries()
public void setUtilization(ReservationAggregates utilization)
How much you used this group of RIs.
utilization
- How much you used this group of RIs.public ReservationAggregates getUtilization()
How much you used this group of RIs.
public ReservationUtilizationGroup withUtilization(ReservationAggregates utilization)
How much you used this group of RIs.
utilization
- How much you used this group of RIs.public String toString()
toString
in class Object
Object.toString()
public ReservationUtilizationGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.