Class AwsXmlProtocolFactory.Builder<SubclassT extends AwsXmlProtocolFactory.Builder>
java.lang.Object
software.amazon.awssdk.protocols.xml.AwsXmlProtocolFactory.Builder<SubclassT>
- Direct Known Subclasses:
AwsS3ProtocolFactory.Builder
- Enclosing class:
AwsXmlProtocolFactory
public static class AwsXmlProtocolFactory.Builder<SubclassT extends AwsXmlProtocolFactory.Builder>
extends Object
Builder for
AwsXmlProtocolFactory
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clientConfiguration
(SdkClientConfiguration clientConfiguration) Sets theSdkClientConfiguration
which contains the service endpoint.defaultServiceExceptionSupplier
(Supplier<SdkPojo> exceptionBuilderSupplier) A supplier for the services base exception builder.final SubclassT
registerModeledException
(ExceptionMetadata errorMetadata) Registers a new modeled exception by the error code.
-
Method Details
-
registerModeledException
Registers a new modeled exception by the error code.- Parameters:
errorMetadata
- metadata for unmarshalling the exceptions- Returns:
- This builder for method chaining.
-
defaultServiceExceptionSupplier
A supplier for the services base exception builder. This is used when we can't identify any modeled exception to unmarshall into.- Parameters:
exceptionBuilderSupplier
- Suppplier of the base service exceptions Builder.- Returns:
- This builder for method chaining.
-
clientConfiguration
Sets theSdkClientConfiguration
which contains the service endpoint.- Parameters:
clientConfiguration
- Configuration of the client.- Returns:
- This builder for method chaining.
-
build
-