SubclassT - Subclass of Builder for fluent method chaining.public static class AwsQueryProtocolFactory.Builder<SubclassT extends AwsQueryProtocolFactory.Builder> extends Object
AwsQueryProtocolFactory.| Modifier and Type | Method and Description |
|---|---|
AwsQueryProtocolFactory |
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 clientConfiguration(SdkClientConfiguration clientConfiguration)
SdkClientConfiguration which contains the service endpoint.clientConfiguration - Configuration of the client.public final SubclassT registerModeledException(ExceptionMetadata errorMetadata)
errorMetadata - metadata for unmarshalling the exceptionspublic final SubclassT defaultServiceExceptionSupplier(Supplier<SdkPojo> exceptionBuilderSupplier)
exceptionBuilderSupplier - Suppplier of the base service exceptions Builder.public AwsQueryProtocolFactory build()
AwsQueryProtocolFactory.Copyright © 2020. All rights reserved.