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:
software.amazon.smithy.utils.SmithyBuilder<AwsQueryErrorTrait>
- Enclosing class:
- AwsQueryErrorTrait
public static final class AwsQueryErrorTrait.Builder extends software.amazon.smithy.model.traits.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()
AwsQueryErrorTrait.Builder
code(java.lang.String code)
AwsQueryErrorTrait.Builder
httpResponseCode(int httpResponseCode)
-
-
-
Method Detail
-
code
public AwsQueryErrorTrait.Builder code(java.lang.String code)
-
httpResponseCode
public AwsQueryErrorTrait.Builder httpResponseCode(int httpResponseCode)
-
build
public AwsQueryErrorTrait build()
-
-