@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)
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.
|
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.CostAllocationTagStatus
public String getStatus()
The status of a cost allocation tag.
CostAllocationTagStatus
public CostAllocationTagStatusEntry withStatus(String status)
The status of a cost allocation tag.
status
- The status of a cost allocation tag.CostAllocationTagStatus
public CostAllocationTagStatusEntry 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 CostAllocationTagStatusEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.