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
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsQueryErrorTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.AwsQueryErrorTrait.Builder
code(java.lang.String code)
AwsQueryErrorTrait.Builder
httpResponseCode(int httpResponseCode)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
code
public AwsQueryErrorTrait.Builder code(java.lang.String code)
-
httpResponseCode
public AwsQueryErrorTrait.Builder httpResponseCode(int httpResponseCode)
-
build
public AwsQueryErrorTrait 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
-
-