@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CostAllocationTag extends Object implements Serializable, Cloneable, StructuredPojo
The cost allocation tag structure. This includes detailed metadata for the CostAllocationTag object.
| Constructor and Description |
|---|
CostAllocationTag() |
| Modifier and Type | Method and Description |
|---|---|
CostAllocationTag |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of a cost allocation tag.
|
String |
getTagKey()
The key for the cost allocation tag.
|
String |
getType()
The type of cost allocation tag.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setStatus(String status)
The status of a cost allocation tag.
|
void |
setTagKey(String tagKey)
The key for the cost allocation tag.
|
void |
setType(String type)
The type of cost allocation tag.
|
String |
toString()
Returns a string representation of this object.
|
CostAllocationTag |
withStatus(CostAllocationTagStatus status)
The status of a cost allocation tag.
|
CostAllocationTag |
withStatus(String status)
The status of a cost allocation tag.
|
CostAllocationTag |
withTagKey(String tagKey)
The key for the cost allocation tag.
|
CostAllocationTag |
withType(CostAllocationTagType type)
The type of cost allocation tag.
|
CostAllocationTag |
withType(String type)
The type of cost allocation tag.
|
public void setTagKey(String tagKey)
The key for the cost allocation tag.
tagKey - The key for the cost allocation tag.public String getTagKey()
The key for the cost allocation tag.
public CostAllocationTag withTagKey(String tagKey)
The key for the cost allocation tag.
tagKey - The key for the cost allocation tag.public void setType(String type)
The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags.
AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. UserDefined type tags are tags that you define,
create, and apply to resources.
type - The type of cost allocation tag. You can use AWSGenerated or UserDefined type
tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to support
Amazon Web Services resources for cost allocation purposes. UserDefined type tags are tags
that you define, create, and apply to resources.CostAllocationTagTypepublic String getType()
The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags.
AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. UserDefined type tags are tags that you define,
create, and apply to resources.
AWSGenerated or UserDefined type
tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to
support Amazon Web Services resources for cost allocation purposes. UserDefined type tags
are tags that you define, create, and apply to resources.CostAllocationTagTypepublic CostAllocationTag withType(String type)
The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags.
AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. UserDefined type tags are tags that you define,
create, and apply to resources.
type - The type of cost allocation tag. You can use AWSGenerated or UserDefined type
tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to support
Amazon Web Services resources for cost allocation purposes. UserDefined type tags are tags
that you define, create, and apply to resources.CostAllocationTagTypepublic CostAllocationTag withType(CostAllocationTagType type)
The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags.
AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. UserDefined type tags are tags that you define,
create, and apply to resources.
type - The type of cost allocation tag. You can use AWSGenerated or UserDefined type
tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to support
Amazon Web Services resources for cost allocation purposes. UserDefined type tags are tags
that you define, create, and apply to resources.CostAllocationTagTypepublic void setStatus(String status)
The status of a cost allocation tag.
status - The status of a cost allocation tag.CostAllocationTagStatuspublic String getStatus()
The status of a cost allocation tag.
CostAllocationTagStatuspublic CostAllocationTag withStatus(String status)
The status of a cost allocation tag.
status - The status of a cost allocation tag.CostAllocationTagStatuspublic CostAllocationTag withStatus(CostAllocationTagStatus status)
The status of a cost allocation tag.
status - The status of a cost allocation tag.CostAllocationTagStatuspublic String toString()
toString in class ObjectObject.toString()public CostAllocationTag clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.