@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchReadException extends Object implements Serializable, Cloneable
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 |
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.BatchReadExceptionTypepublic String getType()
Type of exception, such as InvalidArnException.
BatchReadExceptionTypepublic BatchReadException withType(String type)
Type of exception, such as InvalidArnException.
type - Type of exception, such as InvalidArnException.BatchReadExceptionTypepublic void setType(BatchReadExceptionType type)
Type of exception, such as InvalidArnException.
type - Type of exception, such as InvalidArnException.BatchReadExceptionTypepublic BatchReadException withType(BatchReadExceptionType type)
Type of exception, such as InvalidArnException.
type - Type of exception, such as InvalidArnException.BatchReadExceptionTypepublic 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 ObjectObject.toString()public BatchReadException clone()
Copyright © 2017. All rights reserved.