@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CostCategoryValues extends Object implements Serializable, Cloneable, StructuredPojo
The Cost Categories values used for filtering the costs.
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 Object
Object.toString()
public CostCategoryValues clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.