@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CostCategoryReference extends Object implements Serializable, Cloneable, StructuredPojo
A reference to a Cost Category containing only enough information to identify the Cost Category.
You can use this information to retrieve the full Cost Category information using DescribeCostCategory
.
Constructor and Description |
---|
CostCategoryReference() |
Modifier and Type | Method and Description |
---|---|
CostCategoryReference |
clone() |
boolean |
equals(Object obj) |
String |
getCostCategoryArn()
The unique identifier for your Cost Category.
|
String |
getDefaultValue() |
String |
getEffectiveEnd()
The Cost Category's effective end date.
|
String |
getEffectiveStart()
The Cost Category's effective start date.
|
String |
getName() |
Integer |
getNumberOfRules()
The number of rules that are associated with a specific Cost Category.
|
List<CostCategoryProcessingStatus> |
getProcessingStatus()
The list of processing statuses for Cost Management products for a specific cost category.
|
List<String> |
getValues()
A list of unique cost category values in a specific cost category.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
|
void |
setDefaultValue(String defaultValue) |
void |
setEffectiveEnd(String effectiveEnd)
The Cost Category's effective end date.
|
void |
setEffectiveStart(String effectiveStart)
The Cost Category's effective start date.
|
void |
setName(String name) |
void |
setNumberOfRules(Integer numberOfRules)
The number of rules that are associated with a specific Cost Category.
|
void |
setProcessingStatus(Collection<CostCategoryProcessingStatus> processingStatus)
The list of processing statuses for Cost Management products for a specific cost category.
|
void |
setValues(Collection<String> values)
A list of unique cost category values in a specific cost category.
|
String |
toString()
Returns a string representation of this object.
|
CostCategoryReference |
withCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
|
CostCategoryReference |
withDefaultValue(String defaultValue) |
CostCategoryReference |
withEffectiveEnd(String effectiveEnd)
The Cost Category's effective end date.
|
CostCategoryReference |
withEffectiveStart(String effectiveStart)
The Cost Category's effective start date.
|
CostCategoryReference |
withName(String name) |
CostCategoryReference |
withNumberOfRules(Integer numberOfRules)
The number of rules that are associated with a specific Cost Category.
|
CostCategoryReference |
withProcessingStatus(Collection<CostCategoryProcessingStatus> processingStatus)
The list of processing statuses for Cost Management products for a specific cost category.
|
CostCategoryReference |
withProcessingStatus(CostCategoryProcessingStatus... processingStatus)
The list of processing statuses for Cost Management products for a specific cost category.
|
CostCategoryReference |
withValues(Collection<String> values)
A list of unique cost category values in a specific cost category.
|
CostCategoryReference |
withValues(String... values)
A list of unique cost category values in a specific cost category.
|
public void setCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
costCategoryArn
- The unique identifier for your Cost Category.public String getCostCategoryArn()
The unique identifier for your Cost Category.
public CostCategoryReference withCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
costCategoryArn
- The unique identifier for your Cost Category.public void setName(String name)
name
- public String getName()
public CostCategoryReference withName(String name)
name
- public void setEffectiveStart(String effectiveStart)
The Cost Category's effective start date.
effectiveStart
- The Cost Category's effective start date.public String getEffectiveStart()
The Cost Category's effective start date.
public CostCategoryReference withEffectiveStart(String effectiveStart)
The Cost Category's effective start date.
effectiveStart
- The Cost Category's effective start date.public void setEffectiveEnd(String effectiveEnd)
The Cost Category's effective end date.
effectiveEnd
- The Cost Category's effective end date.public String getEffectiveEnd()
The Cost Category's effective end date.
public CostCategoryReference withEffectiveEnd(String effectiveEnd)
The Cost Category's effective end date.
effectiveEnd
- The Cost Category's effective end date.public void setNumberOfRules(Integer numberOfRules)
The number of rules that are associated with a specific Cost Category.
numberOfRules
- The number of rules that are associated with a specific Cost Category.public Integer getNumberOfRules()
The number of rules that are associated with a specific Cost Category.
public CostCategoryReference withNumberOfRules(Integer numberOfRules)
The number of rules that are associated with a specific Cost Category.
numberOfRules
- The number of rules that are associated with a specific Cost Category.public List<CostCategoryProcessingStatus> getProcessingStatus()
The list of processing statuses for Cost Management products for a specific cost category.
public void setProcessingStatus(Collection<CostCategoryProcessingStatus> processingStatus)
The list of processing statuses for Cost Management products for a specific cost category.
processingStatus
- The list of processing statuses for Cost Management products for a specific cost category.public CostCategoryReference withProcessingStatus(CostCategoryProcessingStatus... processingStatus)
The list of processing statuses for Cost Management products for a specific cost category.
NOTE: This method appends the values to the existing list (if any). Use
setProcessingStatus(java.util.Collection)
or withProcessingStatus(java.util.Collection)
if you
want to override the existing values.
processingStatus
- The list of processing statuses for Cost Management products for a specific cost category.public CostCategoryReference withProcessingStatus(Collection<CostCategoryProcessingStatus> processingStatus)
The list of processing statuses for Cost Management products for a specific cost category.
processingStatus
- The list of processing statuses for Cost Management products for a specific cost category.public List<String> getValues()
A list of unique cost category values in a specific cost category.
public void setValues(Collection<String> values)
A list of unique cost category values in a specific cost category.
values
- A list of unique cost category values in a specific cost category.public CostCategoryReference withValues(String... values)
A list of unique cost category values in a specific 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
- A list of unique cost category values in a specific cost category.public CostCategoryReference withValues(Collection<String> values)
A list of unique cost category values in a specific cost category.
values
- A list of unique cost category values in a specific cost category.public void setDefaultValue(String defaultValue)
defaultValue
- public String getDefaultValue()
public CostCategoryReference withDefaultValue(String defaultValue)
defaultValue
- public String toString()
toString
in class Object
Object.toString()
public CostCategoryReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.