Class AwsQueryProtocolFactory.Builder<SubclassT extends AwsQueryProtocolFactory.Builder>
java.lang.Object
software.amazon.awssdk.protocols.query.AwsQueryProtocolFactory.Builder<SubclassT>
- Type Parameters:
 SubclassT- Subclass of Builder for fluent method chaining.
- Direct Known Subclasses:
 AwsEc2ProtocolFactory.Builder
- Enclosing class:
 AwsQueryProtocolFactory
public static class AwsQueryProtocolFactory.Builder<SubclassT extends AwsQueryProtocolFactory.Builder>
extends Object
Builder for 
AwsQueryProtocolFactory.- 
Method Summary
Modifier and TypeMethodDescriptionbuild()final SubclassTclientConfiguration(SdkClientConfiguration clientConfiguration) Sets theSdkClientConfigurationwhich contains the service endpoint.final SubclassTdefaultServiceExceptionSupplier(Supplier<SdkPojo> exceptionBuilderSupplier) A supplier for the services base exception builder.final SubclassTregisterModeledException(ExceptionMetadata errorMetadata) Registers a new modeled exception by the error code. 
- 
Method Details
- 
clientConfiguration
Sets theSdkClientConfigurationwhich contains the service endpoint.- Parameters:
 clientConfiguration- Configuration of the client.- Returns:
 - This builder for method chaining.
 
 - 
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.
 
 - 
build
- Returns:
 - New instance of 
AwsQueryProtocolFactory. 
 
 -