Class ExceptionMetadata

java.lang.Object
software.amazon.awssdk.protocols.core.ExceptionMetadata

public final class ExceptionMetadata extends Object
Metadata needed to unmarshall a modeled exception.
  • Method Details

    • 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()