@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageBuilderStateChangeReason extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ImageBuilderStateChangeReason() |
Modifier and Type | Method and Description |
---|---|
ImageBuilderStateChangeReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode() |
String |
getMessage() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code) |
void |
setMessage(String message) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ImageBuilderStateChangeReason |
withCode(ImageBuilderStateChangeReasonCode code) |
ImageBuilderStateChangeReason |
withCode(String code) |
ImageBuilderStateChangeReason |
withMessage(String message) |
public void setCode(String code)
code
- ImageBuilderStateChangeReasonCode
public String getCode()
ImageBuilderStateChangeReasonCode
public ImageBuilderStateChangeReason withCode(String code)
code
- ImageBuilderStateChangeReasonCode
public ImageBuilderStateChangeReason withCode(ImageBuilderStateChangeReasonCode code)
code
- ImageBuilderStateChangeReasonCode
public void setMessage(String message)
message
- public String getMessage()
public ImageBuilderStateChangeReason withMessage(String message)
message
- public String toString()
toString
in class Object
Object.toString()
public ImageBuilderStateChangeReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.