public static final class AwsXmlErrorTransformer.Builder extends Object
AwsXmlErrorTransformer.| Modifier and Type | Method and Description |
|---|---|
AwsXmlErrorTransformer |
build() |
AwsXmlErrorTransformer.Builder |
defaultExceptionSupplier(Supplier<SdkPojo> defaultExceptionSupplier)
Default exception type if "error code" does not match any known modeled exception.
|
AwsXmlErrorTransformer.Builder |
errorUnmarshaller(XmlErrorUnmarshaller errorUnmarshaller)
The unmarshaller to use.
|
AwsXmlErrorTransformer.Builder |
exceptions(List<ExceptionMetadata> exceptions)
List of
ExceptionMetadata to represent the modeled exceptions for the service. |
public AwsXmlErrorTransformer.Builder exceptions(List<ExceptionMetadata> exceptions)
ExceptionMetadata to represent the modeled exceptions for the service.
For AWS services the error type is a string representing the type of the modeled exception.public AwsXmlErrorTransformer.Builder defaultExceptionSupplier(Supplier<SdkPojo> defaultExceptionSupplier)
public AwsXmlErrorTransformer.Builder errorUnmarshaller(XmlErrorUnmarshaller errorUnmarshaller)
AwsXmlErrorTransformer.errorUnmarshaller - Error unmarshaller to use.public AwsXmlErrorTransformer build()
AwsXmlErrorTransformer.Copyright © 2021. All rights reserved.