@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Attribute extends Object implements Serializable, Cloneable, StructuredPojo
The key-value pair that represents the attribute by which the BillingGroupCostReportResults are grouped.
For example, if you want a service-level breakdown for Amazon Simple Storage Service (Amazon S3) of the billing
group, the attribute will be a key-value pair of "PRODUCT_NAME" and "S3".
| Constructor and Description |
|---|
Attribute() |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key in a key-value pair that describes the margin summary.
|
String |
getValue()
The value in a key-value pair that describes the margin summary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(String key)
The key in a key-value pair that describes the margin summary.
|
void |
setValue(String value)
The value in a key-value pair that describes the margin summary.
|
String |
toString()
Returns a string representation of this object.
|
Attribute |
withKey(String key)
The key in a key-value pair that describes the margin summary.
|
Attribute |
withValue(String value)
The value in a key-value pair that describes the margin summary.
|
public void setKey(String key)
The key in a key-value pair that describes the margin summary.
key - The key in a key-value pair that describes the margin summary.public String getKey()
The key in a key-value pair that describes the margin summary.
public Attribute withKey(String key)
The key in a key-value pair that describes the margin summary.
key - The key in a key-value pair that describes the margin summary.public void setValue(String value)
The value in a key-value pair that describes the margin summary.
value - The value in a key-value pair that describes the margin summary.public String getValue()
The value in a key-value pair that describes the margin summary.
public Attribute withValue(String value)
The value in a key-value pair that describes the margin summary.
value - The value in a key-value pair that describes the margin summary.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.