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