StructuredPojo
, ToCopyableBuilder<StorageGatewayError.Builder,StorageGatewayError>
@Generated("software.amazon.awssdk:codegen") public class StorageGatewayError extends Object implements StructuredPojo, 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 | Description |
---|---|---|
static interface |
StorageGatewayError.Builder |
Modifier and Type | Method | Description |
---|---|---|
static StorageGatewayError.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
errorCode() |
Additional information about the error.
|
Map<String,String> |
errorDetails() |
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 . |
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() |
public String errorCode()
Additional information about the error.
ErrorCode
public Map<String,String> errorDetails()
Human-readable text that provides detail about the error that occurred.
public StorageGatewayError.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StorageGatewayError.Builder,StorageGatewayError>
public static StorageGatewayError.Builder builder()
public static Class<? extends StorageGatewayError.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.