public static final class AwsXmlErrorUnmarshaller.Builder extends Object
AwsXmlErrorUnmarshaller
.Modifier and Type | Method and Description |
---|---|
AwsXmlErrorUnmarshaller |
build() |
AwsXmlErrorUnmarshaller.Builder |
defaultExceptionSupplier(Supplier<SdkPojo> defaultExceptionSupplier)
Default exception type if "error code" does not match any known modeled exception.
|
AwsXmlErrorUnmarshaller.Builder |
errorUnmarshaller(XmlErrorUnmarshaller errorUnmarshaller)
The unmarshaller to use.
|
AwsXmlErrorUnmarshaller.Builder |
exceptions(List<ExceptionMetadata> exceptions)
List of
ExceptionMetadata to represent the modeled exceptions for the service. |
public AwsXmlErrorUnmarshaller.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 AwsXmlErrorUnmarshaller.Builder defaultExceptionSupplier(Supplier<SdkPojo> defaultExceptionSupplier)
public AwsXmlErrorUnmarshaller.Builder errorUnmarshaller(XmlErrorUnmarshaller errorUnmarshaller)
AwsXmlErrorUnmarshaller
.errorUnmarshaller
- Error unmarshaller to use.public AwsXmlErrorUnmarshaller build()
AwsXmlErrorUnmarshaller
.Copyright © 2023. All rights reserved.