Class AwsErrorDetails
java.lang.Object
software.amazon.awssdk.awscore.exception.AwsErrorDetails
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AwsErrorDetails.Builder
builder()
boolean
Returns the error code associated with the response.int
hashCode()
Returns the response payload as bytes.Returns a map of HTTP headers associated with the error response.static Class
<? extends AwsErrorDetails.Builder> Returns the name of the service as defined in the static constant SERVICE_NAME variable of each service's interface.Create aAwsErrorDetails.Builder
initialized with the properties of thisAwsErrorDetails
.toString()
-
Method Details
-
serviceName
Returns the name of the service as defined in the static constant SERVICE_NAME variable of each service's interface.- Returns:
- The name of the service that sent this error response.
-
errorMessage
- Returns:
- the human-readable error message provided by the service.
-
errorCode
Returns the error code associated with the response. -
rawResponse
Returns the response payload as bytes. -
sdkHttpResponse
Returns a map of HTTP headers associated with the error response. -
builder
- Returns:
AwsErrorDetails.Builder
instance to construct a newAwsErrorDetails
.
-
toBuilder
Create aAwsErrorDetails.Builder
initialized with the properties of thisAwsErrorDetails
.- Returns:
- A new builder initialized with this config's properties.
-
serializableBuilderClass
-
equals
-
hashCode
public int hashCode() -
toString
-