Class AwsQueryErrorTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<AwsQueryErrorTrait,AwsQueryErrorTrait.Builder>
software.amazon.smithy.aws.traits.protocols.AwsQueryErrorTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<AwsQueryErrorTrait>
- Enclosing class:
- AwsQueryErrorTrait
public static final class AwsQueryErrorTrait.Builder
extends AbstractTraitBuilder<AwsQueryErrorTrait,AwsQueryErrorTrait.Builder>
Builder used to create an AwsQueryErrorTrait.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.httpResponseCode
(int httpResponseCode) Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
-
httpResponseCode
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-