Class ExceptionMetadata
- java.lang.Object
-
- software.amazon.awssdk.protocols.core.ExceptionMetadata
-
public final class ExceptionMetadata extends Object
Metadata needed to unmarshall a modeled exception.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExceptionMetadata.Builder
Builder forExceptionMetadata
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExceptionMetadata.Builder
builder()
String
errorCode()
Returns the error code for the modeled exception.Supplier<SdkPojo>
exceptionBuilderSupplier()
Returns the Supplier to get the builder class for the exception.Integer
httpStatusCode()
Returns the http status code for the exception.
-
-
-
Method Detail
-
errorCode
public String errorCode()
Returns the error code for the modeled exception.
-
exceptionBuilderSupplier
public Supplier<SdkPojo> exceptionBuilderSupplier()
Returns the Supplier to get the builder class for the exception.
-
httpStatusCode
public Integer httpStatusCode()
Returns the http status code for the exception. For modeled exceptions, this value is populated from the c2j model.
-
builder
public static ExceptionMetadata.Builder builder()
-
-