@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.NamespaceErrorType
public String getType()
The error type.
NamespaceErrorType
public NamespaceError withType(String type)
The error type.
type
- The error type.NamespaceErrorType
public NamespaceError withType(NamespaceErrorType type)
The error type.
type
- The error type.NamespaceErrorType
public 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 Object
Object.toString()
public NamespaceError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.