@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThemeError extends Object implements Serializable, Cloneable, StructuredPojo
Theme error.
Constructor and Description |
---|
ThemeError() |
Modifier and Type | Method and Description |
---|---|
ThemeError |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The error message.
|
String |
getType()
The type of error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
The error message.
|
void |
setType(String type)
The type of error.
|
String |
toString()
Returns a string representation of this object.
|
ThemeError |
withMessage(String message)
The error message.
|
ThemeError |
withType(String type)
The type of error.
|
ThemeError |
withType(ThemeErrorType type)
The type of error.
|
public void setType(String type)
The type of error.
type
- The type of error.ThemeErrorType
public String getType()
The type of error.
ThemeErrorType
public ThemeError withType(String type)
The type of error.
type
- The type of error.ThemeErrorType
public ThemeError withType(ThemeErrorType type)
The type of error.
type
- The type of error.ThemeErrorType
public void setMessage(String message)
The error message.
message
- The error message.public String getMessage()
The error message.
public ThemeError withMessage(String message)
The error message.
message
- The error message.public String toString()
toString
in class Object
Object.toString()
public ThemeError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.