@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CostCategoryValues extends Object implements Serializable, Cloneable, StructuredPojo
Cost Category is in preview release for AWS Billing and Cost Management and is subject to change. Your use of Cost Categories is subject to the Beta Service Participation terms of the AWS Service Terms (Section 1.10).
The values that are available for Cost Categories.
| Constructor and Description |
|---|
CostCategoryValues() |
| Modifier and Type | Method and Description |
|---|---|
CostCategoryValues |
clone() |
boolean |
equals(Object obj) |
String |
getKey() |
List<String> |
getValues()
The specific value of the Cost Category.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key) |
void |
setValues(Collection<String> values)
The specific value of the Cost Category.
|
String |
toString()
Returns a string representation of this object.
|
CostCategoryValues |
withKey(String key) |
CostCategoryValues |
withValues(Collection<String> values)
The specific value of the Cost Category.
|
CostCategoryValues |
withValues(String... values)
The specific value of the Cost Category.
|
public void setKey(String key)
key - public String getKey()
public CostCategoryValues withKey(String key)
key - public List<String> getValues()
The specific value of the Cost Category.
public void setValues(Collection<String> values)
The specific value of the Cost Category.
values - The specific value of the Cost Category.public CostCategoryValues withValues(String... values)
The specific value of the Cost Category.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The specific value of the Cost Category.public CostCategoryValues withValues(Collection<String> values)
The specific value of the Cost Category.
values - The specific value of the Cost Category.public String toString()
toString in class ObjectObject.toString()public CostCategoryValues clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.