@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCostAllocationTagsStatusError extends Object implements Serializable, Cloneable, StructuredPojo
Gives a detailed description of the result of an action. It's on each cost allocation tag entry in the request.
Constructor and Description |
---|
UpdateCostAllocationTagsStatusError() |
Modifier and Type | Method and Description |
---|---|
UpdateCostAllocationTagsStatusError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
An error code representing why the action failed on this entry.
|
String |
getMessage()
A message explaining why the action failed on this entry.
|
String |
getTagKey()
The key for the cost allocation tag.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
An error code representing why the action failed on this entry.
|
void |
setMessage(String message)
A message explaining why the action failed on this entry.
|
void |
setTagKey(String tagKey)
The key for the cost allocation tag.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCostAllocationTagsStatusError |
withCode(String code)
An error code representing why the action failed on this entry.
|
UpdateCostAllocationTagsStatusError |
withMessage(String message)
A message explaining why the action failed on this entry.
|
UpdateCostAllocationTagsStatusError |
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 UpdateCostAllocationTagsStatusError withTagKey(String tagKey)
The key for the cost allocation tag.
tagKey
- The key for the cost allocation tag.public void setCode(String code)
An error code representing why the action failed on this entry.
code
- An error code representing why the action failed on this entry.public String getCode()
An error code representing why the action failed on this entry.
public UpdateCostAllocationTagsStatusError withCode(String code)
An error code representing why the action failed on this entry.
code
- An error code representing why the action failed on this entry.public void setMessage(String message)
A message explaining why the action failed on this entry.
message
- A message explaining why the action failed on this entry.public String getMessage()
A message explaining why the action failed on this entry.
public UpdateCostAllocationTagsStatusError withMessage(String message)
A message explaining why the action failed on this entry.
message
- A message explaining why the action failed on this entry.public String toString()
toString
in class Object
Object.toString()
public UpdateCostAllocationTagsStatusError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.