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