@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppBlockBuilderStateChangeReason extends Object implements Serializable, Cloneable, StructuredPojo
Describes the reason why the last app block builder state change occurred.
Constructor and Description |
---|
AppBlockBuilderStateChangeReason() |
Modifier and Type | Method and Description |
---|---|
AppBlockBuilderStateChangeReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The state change reason code.
|
String |
getMessage()
The state change reason message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The state change reason code.
|
void |
setMessage(String message)
The state change reason message.
|
String |
toString()
Returns a string representation of this object.
|
AppBlockBuilderStateChangeReason |
withCode(AppBlockBuilderStateChangeReasonCode code)
The state change reason code.
|
AppBlockBuilderStateChangeReason |
withCode(String code)
The state change reason code.
|
AppBlockBuilderStateChangeReason |
withMessage(String message)
The state change reason message.
|
public void setCode(String code)
The state change reason code.
code
- The state change reason code.AppBlockBuilderStateChangeReasonCode
public String getCode()
The state change reason code.
AppBlockBuilderStateChangeReasonCode
public AppBlockBuilderStateChangeReason withCode(String code)
The state change reason code.
code
- The state change reason code.AppBlockBuilderStateChangeReasonCode
public AppBlockBuilderStateChangeReason withCode(AppBlockBuilderStateChangeReasonCode code)
The state change reason code.
code
- The state change reason code.AppBlockBuilderStateChangeReasonCode
public void setMessage(String message)
The state change reason message.
message
- The state change reason message.public String getMessage()
The state change reason message.
public AppBlockBuilderStateChangeReason withMessage(String message)
The state change reason message.
message
- The state change reason message.public String toString()
toString
in class Object
Object.toString()
public AppBlockBuilderStateChangeReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.