@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetSchemaError extends Object implements Serializable, Cloneable, StructuredPojo
An error describing why a schema could not be fetched.
Constructor and Description |
---|
BatchGetSchemaError() |
Modifier and Type | Method and Description |
---|---|
BatchGetSchemaError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
An error code for the error.
|
String |
getMessage()
An error message for the error.
|
String |
getName()
An error name for the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
An error code for the error.
|
void |
setMessage(String message)
An error message for the error.
|
void |
setName(String name)
An error name for the error.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetSchemaError |
withCode(String code)
An error code for the error.
|
BatchGetSchemaError |
withMessage(String message)
An error message for the error.
|
BatchGetSchemaError |
withName(String name)
An error name for the error.
|
public void setName(String name)
An error name for the error.
name
- An error name for the error.public String getName()
An error name for the error.
public BatchGetSchemaError withName(String name)
An error name for the error.
name
- An error name for the error.public void setCode(String code)
An error code for the error.
code
- An error code for the error.public String getCode()
An error code for the error.
public BatchGetSchemaError withCode(String code)
An error code for the error.
code
- An error code for the error.public void setMessage(String message)
An error message for the error.
message
- An error message for the error.public String getMessage()
An error message for the error.
public BatchGetSchemaError withMessage(String message)
An error message for the error.
message
- An error message for the error.public String toString()
toString
in class Object
Object.toString()
public BatchGetSchemaError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.