@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CostAllocationTagStatusEntry extends Object implements Serializable, Cloneable, StructuredPojo
The cost allocation tag status. The status of a key can either be active or inactive.
| Constructor and Description |
|---|
CostAllocationTagStatusEntry() |
| Modifier and Type | Method and Description |
|---|---|
CostAllocationTagStatusEntry |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of a cost allocation tag.
|
String |
getTagKey()
The key for the 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.
|
String |
toString()
Returns a string representation of this object.
|
CostAllocationTagStatusEntry |
withStatus(CostAllocationTagStatus status)
The status of a cost allocation tag.
|
CostAllocationTagStatusEntry |
withStatus(String status)
The status of a cost allocation tag.
|
CostAllocationTagStatusEntry |
withTagKey(String tagKey)
The key for the 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 CostAllocationTagStatusEntry withTagKey(String tagKey)
The key for the cost allocation tag.
tagKey - The key for the cost allocation tag.public 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 CostAllocationTagStatusEntry withStatus(String status)
The status of a cost allocation tag.
status - The status of a cost allocation tag.CostAllocationTagStatuspublic CostAllocationTagStatusEntry 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 CostAllocationTagStatusEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.