@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)
Marshalls this structured data using the given
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.CostAllocationTagType
public 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.CostAllocationTagType
public 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.CostAllocationTagType
public 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.CostAllocationTagType
public void setStatus(String status)
The status of a cost allocation tag.
status
- The status of a cost allocation tag.CostAllocationTagStatus
public String getStatus()
The status of a cost allocation tag.
CostAllocationTagStatus
public CostAllocationTag withStatus(String status)
The status of a cost allocation tag.
status
- The status of a cost allocation tag.CostAllocationTagStatus
public CostAllocationTag withStatus(CostAllocationTagStatus status)
The status of a cost allocation tag.
status
- The status of a cost allocation tag.CostAllocationTagStatus
public String toString()
toString
in class Object
Object.toString()
public CostAllocationTag clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.