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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestCompressionTrait.Builder
addEncoding(java.lang.String encoding)
RequestCompressionTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.RequestCompressionTrait.Builder
clearEncodings()
RequestCompressionTrait.Builder
encodings(java.util.List<java.lang.String> encodings)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public RequestCompressionTrait 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
public RequestCompressionTrait.Builder encodings(java.util.List<java.lang.String> encodings)
-
addEncoding
public RequestCompressionTrait.Builder addEncoding(java.lang.String encoding)
-
clearEncodings
public RequestCompressionTrait.Builder clearEncodings()
-
-