@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchReadException extends Object implements Serializable, Cloneable, StructuredPojo
The batch read exception structure, which contains the exception type and message.
Constructor and Description |
---|
BatchReadException() |
Modifier and Type | Method and Description |
---|---|
BatchReadException |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
An exception message that is associated with the failure.
|
String |
getType()
A type of exception, such as
InvalidArnException . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
An exception message that is associated with the failure.
|
void |
setType(BatchReadExceptionType type)
A type of exception, such as
InvalidArnException . |
void |
setType(String type)
A type of exception, such as
InvalidArnException . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BatchReadException |
withMessage(String message)
An exception message that is associated with the failure.
|
BatchReadException |
withType(BatchReadExceptionType type)
A type of exception, such as
InvalidArnException . |
BatchReadException |
withType(String type)
A type of exception, such as
InvalidArnException . |
public void setType(String type)
A type of exception, such as InvalidArnException
.
type
- A type of exception, such as InvalidArnException
.BatchReadExceptionType
public String getType()
A type of exception, such as InvalidArnException
.
InvalidArnException
.BatchReadExceptionType
public BatchReadException withType(String type)
A type of exception, such as InvalidArnException
.
type
- A type of exception, such as InvalidArnException
.BatchReadExceptionType
public void setType(BatchReadExceptionType type)
A type of exception, such as InvalidArnException
.
type
- A type of exception, such as InvalidArnException
.BatchReadExceptionType
public BatchReadException withType(BatchReadExceptionType type)
A type of exception, such as InvalidArnException
.
type
- A type of exception, such as InvalidArnException
.BatchReadExceptionType
public void setMessage(String message)
An exception message that is associated with the failure.
message
- An exception message that is associated with the failure.public String getMessage()
An exception message that is associated with the failure.
public BatchReadException withMessage(String message)
An exception message that is associated with the failure.
message
- An exception message that is associated with the failure.public String toString()
toString
in class Object
Object.toString()
public BatchReadException 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.