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