public static final class AwsXmlErrorProtocolUnmarshaller.Builder extends Object
AwsXmlErrorProtocolUnmarshaller.| Modifier and Type | Method and Description |
|---|---|
AwsXmlErrorProtocolUnmarshaller |
build() |
AwsXmlErrorProtocolUnmarshaller.Builder |
defaultExceptionSupplier(Supplier<SdkPojo> defaultExceptionSupplier)
Default exception type if "error code" does not match any known modeled exception.
|
AwsXmlErrorProtocolUnmarshaller.Builder |
errorRootExtractor(Function<XmlElement,Optional<XmlElement>> errorRootExtractor)
Extracts the
|
AwsXmlErrorProtocolUnmarshaller.Builder |
errorUnmarshaller(XmlErrorUnmarshaller errorUnmarshaller)
The unmarshaller to use.
|
AwsXmlErrorProtocolUnmarshaller.Builder |
exceptions(List<ExceptionMetadata> exceptions)
List of
ExceptionMetadata to represent the modeled exceptions for the service. |
public AwsXmlErrorProtocolUnmarshaller.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 AwsXmlErrorProtocolUnmarshaller.Builder defaultExceptionSupplier(Supplier<SdkPojo> defaultExceptionSupplier)
public AwsXmlErrorProtocolUnmarshaller.Builder errorRootExtractor(Function<XmlElement,Optional<XmlElement>> errorRootExtractor)
AwsXmlErrorProtocolUnmarshaller for examples.errorRootExtractor - Function that extracts the public AwsXmlErrorProtocolUnmarshaller.Builder errorUnmarshaller(XmlErrorUnmarshaller errorUnmarshaller)
AwsXmlErrorProtocolUnmarshaller.errorUnmarshaller - Error unmarshaller to use.public AwsXmlErrorProtocolUnmarshaller build()
AwsXmlErrorProtocolUnmarshaller.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.