@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageGatewayError extends Object implements Serializable, Cloneable, StructuredPojo
Provides additional information about an error that was returned by the service as an or. See the
errorCode and errorDetails members for more information about the error.
| Constructor and Description |
|---|
StorageGatewayError() |
| Modifier and Type | Method and Description |
|---|---|
StorageGatewayError |
addErrorDetailsEntry(String key,
String value) |
StorageGatewayError |
clearErrorDetailsEntries()
Removes all the entries added into ErrorDetails.
|
StorageGatewayError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
Additional information about the error.
|
Map<String,String> |
getErrorDetails()
Human-readable text that provides detail about the error that occurred.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(ErrorCode errorCode)
Additional information about the error.
|
void |
setErrorCode(String errorCode)
Additional information about the error.
|
void |
setErrorDetails(Map<String,String> errorDetails)
Human-readable text that provides detail about the error that occurred.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StorageGatewayError |
withErrorCode(ErrorCode errorCode)
Additional information about the error.
|
StorageGatewayError |
withErrorCode(String errorCode)
Additional information about the error.
|
StorageGatewayError |
withErrorDetails(Map<String,String> errorDetails)
Human-readable text that provides detail about the error that occurred.
|
public void setErrorCode(String errorCode)
Additional information about the error.
errorCode - Additional information about the error.ErrorCodepublic String getErrorCode()
Additional information about the error.
ErrorCodepublic StorageGatewayError withErrorCode(String errorCode)
Additional information about the error.
errorCode - Additional information about the error.ErrorCodepublic void setErrorCode(ErrorCode errorCode)
Additional information about the error.
errorCode - Additional information about the error.ErrorCodepublic StorageGatewayError withErrorCode(ErrorCode errorCode)
Additional information about the error.
errorCode - Additional information about the error.ErrorCodepublic Map<String,String> getErrorDetails()
Human-readable text that provides detail about the error that occurred.
public void setErrorDetails(Map<String,String> errorDetails)
Human-readable text that provides detail about the error that occurred.
errorDetails - Human-readable text that provides detail about the error that occurred.public StorageGatewayError withErrorDetails(Map<String,String> errorDetails)
Human-readable text that provides detail about the error that occurred.
errorDetails - Human-readable text that provides detail about the error that occurred.public StorageGatewayError addErrorDetailsEntry(String key, String value)
public StorageGatewayError clearErrorDetailsEntries()
public String toString()
toString in class ObjectObject.toString()public StorageGatewayError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.