@Generated(value="software.amazon.awssdk:codegen") public final class StorageGatewayError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StorageGatewayError.Builder,StorageGatewayError>
 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.
 
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
StorageGatewayError.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
static StorageGatewayError.Builder | 
builder()  | 
boolean | 
equals(Object obj)  | 
ErrorCode | 
errorCode()
 Additional information about the error. 
 | 
String | 
errorCodeAsString()
 Additional information about the error. 
 | 
Map<String,String> | 
errorDetails()
 Human-readable text that provides detail about the error that occurred. 
 | 
<T> Optional<T> | 
getValueForField(String fieldName,
                Class<T> clazz)  | 
int | 
hashCode()  | 
List<SdkField<?>> | 
sdkFields()  | 
static Class<? extends StorageGatewayError.Builder> | 
serializableBuilderClass()  | 
StorageGatewayError.Builder | 
toBuilder()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
copypublic ErrorCode errorCode()
Additional information about the error.
 If the service returns an enum value that is not available in the current SDK version, errorCode will
 return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 errorCodeAsString().
 
ErrorCodepublic String errorCodeAsString()
Additional information about the error.
 If the service returns an enum value that is not available in the current SDK version, errorCode will
 return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 errorCodeAsString().
 
ErrorCodepublic Map<String,String> errorDetails()
Human-readable text that provides detail about the error that occurred.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public StorageGatewayError.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<StorageGatewayError.Builder,StorageGatewayError>public static StorageGatewayError.Builder builder()
public static Class<? extends StorageGatewayError.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.