@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StateDescription extends Object implements Serializable, Cloneable, StructuredPojo
Details about the state of a resource.
Constructor and Description |
---|
StateDescription() |
Modifier and Type | Method and Description |
---|---|
StateDescription |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
A code that describes the state of a resource.
|
String |
getMessage()
A message that describes the state of a resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
A code that describes the state of a resource.
|
void |
setMessage(String message)
A message that describes the state of a resource.
|
String |
toString()
Returns a string representation of this object.
|
StateDescription |
withCode(String code)
A code that describes the state of a resource.
|
StateDescription |
withMessage(String message)
A message that describes the state of a resource.
|
public void setCode(String code)
A code that describes the state of a resource.
code
- A code that describes the state of a resource.public String getCode()
A code that describes the state of a resource.
public StateDescription withCode(String code)
A code that describes the state of a resource.
code
- A code that describes the state of a resource.public void setMessage(String message)
A message that describes the state of a resource.
message
- A message that describes the state of a resource.public String getMessage()
A message that describes the state of a resource.
public StateDescription withMessage(String message)
A message that describes the state of a resource.
message
- A message that describes the state of a resource.public String toString()
toString
in class Object
Object.toString()
public StateDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.