Class HttpChecksumTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<HttpChecksumTrait,HttpChecksumTrait.Builder>
-
- software.amazon.smithy.aws.traits.HttpChecksumTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<HttpChecksumTrait>
- Enclosing class:
- HttpChecksumTrait
public static final class HttpChecksumTrait.Builder extends AbstractTraitBuilder<HttpChecksumTrait,HttpChecksumTrait.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpChecksumTrait.Builder
addResponseAlgorithm(java.lang.String algorithm)
HttpChecksumTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.HttpChecksumTrait.Builder
clearResponseAlgorithms()
HttpChecksumTrait.Builder
requestAlgorithmMember(java.lang.String input)
HttpChecksumTrait.Builder
requestChecksumRequired(boolean isRequired)
HttpChecksumTrait.Builder
requestValidationModeMember(java.lang.String input)
HttpChecksumTrait.Builder
responseAlgorithms(java.util.List<java.lang.String> algorithms)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public HttpChecksumTrait 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
-
requestAlgorithmMember
public HttpChecksumTrait.Builder requestAlgorithmMember(java.lang.String input)
-
requestChecksumRequired
public HttpChecksumTrait.Builder requestChecksumRequired(boolean isRequired)
-
requestValidationModeMember
public HttpChecksumTrait.Builder requestValidationModeMember(java.lang.String input)
-
responseAlgorithms
public HttpChecksumTrait.Builder responseAlgorithms(java.util.List<java.lang.String> algorithms)
-
addResponseAlgorithm
public HttpChecksumTrait.Builder addResponseAlgorithm(java.lang.String algorithm)
-
clearResponseAlgorithms
public HttpChecksumTrait.Builder clearResponseAlgorithms()
-
-