@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CostCategoryReference 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).
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 Reference.
|
String |
getEffectiveEnd()
The Cost Category's effective end date.
|
String |
getEffectiveStart()
The Cost Category's effective start date.
|
String |
getName() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category Reference.
|
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) |
String |
toString()
Returns a string representation of this object.
|
CostCategoryReference |
withCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category Reference.
|
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) |
public void setCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category Reference.
costCategoryArn
- The unique identifier for your Cost Category Reference.public String getCostCategoryArn()
The unique identifier for your Cost Category Reference.
public CostCategoryReference withCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category Reference.
costCategoryArn
- The unique identifier for your Cost Category Reference.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 String toString()
toString
in class Object
Object.toString()
public CostCategoryReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.