@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecordError extends Object implements Serializable, Cloneable, StructuredPojo
The error code and description resulting from an operation.
Constructor and Description |
---|
RecordError() |
Modifier and Type | Method and Description |
---|---|
RecordError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The numeric value of the error.
|
String |
getDescription()
The text description of the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The numeric value of the error.
|
void |
setDescription(String description)
The text description of the error.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RecordError |
withCode(String code)
The numeric value of the error.
|
RecordError |
withDescription(String description)
The text description of the error.
|
public void setCode(String code)
The numeric value of the error.
code
- The numeric value of the error.public String getCode()
The numeric value of the error.
public RecordError withCode(String code)
The numeric value of the error.
code
- The numeric value of the error.public void setDescription(String description)
The text description of the error.
description
- The text description of the error.public String getDescription()
The text description of the error.
public RecordError withDescription(String description)
The text description of the error.
description
- The text description of the error.public String toString()
toString
in class Object
Object.toString()
public RecordError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.