public static class AwsXmlProtocolFactory.Builder<SubclassT extends AwsXmlProtocolFactory.Builder> extends Object
AwsXmlProtocolFactory
.Modifier and Type | Method and Description |
---|---|
AwsXmlProtocolFactory |
build() |
SubclassT |
clientConfiguration(SdkClientConfiguration clientConfiguration)
Sets the
SdkClientConfiguration which contains the service endpoint. |
SubclassT |
defaultServiceExceptionSupplier(Supplier<SdkPojo> exceptionBuilderSupplier)
A supplier for the services base exception builder.
|
SubclassT |
registerModeledException(ExceptionMetadata errorMetadata)
Registers a new modeled exception by the error code.
|
public final SubclassT registerModeledException(ExceptionMetadata errorMetadata)
errorMetadata
- metadata for unmarshalling the exceptionspublic SubclassT defaultServiceExceptionSupplier(Supplier<SdkPojo> exceptionBuilderSupplier)
exceptionBuilderSupplier
- Suppplier of the base service exceptions Builder.public SubclassT clientConfiguration(SdkClientConfiguration clientConfiguration)
SdkClientConfiguration
which contains the service endpoint.clientConfiguration
- Configuration of the client.public AwsXmlProtocolFactory build()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.