Class RequestCompressionTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<RequestCompressionTrait,RequestCompressionTrait.Builder>
software.amazon.smithy.model.traits.RequestCompressionTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<RequestCompressionTrait>
- Enclosing class:
- RequestCompressionTrait
public static final class RequestCompressionTrait.Builder
extends AbstractTraitBuilder<RequestCompressionTrait,RequestCompressionTrait.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionaddEncoding
(String encoding) build()
Creates an immutable object that is created from the properties that have been set on the builder.Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
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
-
encodings
-
addEncoding
-
clearEncodings
-