public final class HttpChecksumTrait extends AbstractTrait implements software.amazon.smithy.utils.ToSmithyBuilder<HttpChecksumTrait>
Modifier and Type | Class and Description |
---|---|
static class |
HttpChecksumTrait.Builder |
static class |
HttpChecksumTrait.Provider |
Modifier and Type | Method and Description |
---|---|
static HttpChecksumTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
java.util.Set<java.lang.String> |
getRequestAlgorithms()
Gets supported algorithms for request property defined within the
HttpChecksum trait.
|
java.util.List<HttpChecksumProperty> |
getRequestProperties()
Gets request property defined within the HttpChecksum trait.
|
java.util.List<HttpChecksumProperty> |
getRequestPropertiesForAlgorithm(java.lang.String algorithm)
Gets checksum properties associated with the provided algorithm on request.
|
java.util.Set<java.lang.String> |
getResponseAlgorithms()
Gets supported algorithms for response property defined within the
HttpChecksum trait.
|
java.util.List<HttpChecksumProperty> |
getResponseProperties()
Gets response property defined within the HttpChecksum trait.
|
java.util.List<HttpChecksumProperty> |
getResponsePropertiesForAlgorithm(java.lang.String algorithm)
Gets checksum properties associated with the provided algorithm on response.
|
software.amazon.smithy.utils.SmithyBuilder<HttpChecksumTrait> |
toBuilder() |
equals, getSourceLocation, hashCode, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public static HttpChecksumTrait.Builder builder()
public software.amazon.smithy.utils.SmithyBuilder<HttpChecksumTrait> toBuilder()
toBuilder
in interface software.amazon.smithy.utils.ToSmithyBuilder<HttpChecksumTrait>
public java.util.List<HttpChecksumProperty> getRequestProperties()
public java.util.Set<java.lang.String> getRequestAlgorithms()
public java.util.List<HttpChecksumProperty> getRequestPropertiesForAlgorithm(java.lang.String algorithm)
algorithm
- the algorithm on request property.public java.util.List<HttpChecksumProperty> getResponseProperties()
public java.util.Set<java.lang.String> getResponseAlgorithms()
public java.util.List<HttpChecksumProperty> getResponsePropertiesForAlgorithm(java.lang.String algorithm)
algorithm
- the supported algorithm on response.protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait