Class ChecksumSpecs
- java.lang.Object
-
- software.amazon.awssdk.core.checksums.ChecksumSpecs
-
- All Implemented Interfaces:
ToCopyableBuilder<ChecksumSpecs.Builder,ChecksumSpecs>
@SdkProtectedApi public class ChecksumSpecs extends Object implements ToCopyableBuilder<ChecksumSpecs.Builder,ChecksumSpecs>
Defines all the Specifications that are required while adding HttpChecksum to a request and validating HttpChecksum of a response.Implementor notes: this class is technically not needed, but we can't remove it now for backwards compatibility reasons.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChecksumSpecs.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Algorithmalgorithm()Deprecated.usealgorithmV2()insteadChecksumAlgorithmalgorithmV2()static ChecksumSpecs.Builderbuilder()booleanequals(Object o)inthashCode()StringheaderName()booleanisRequestChecksumRequired()booleanisRequestStreaming()booleanisValidationEnabled()StringrequestAlgorithmHeader()List<Algorithm>responseValidationAlgorithms()Deprecated.usealgorithmV2()insteadList<ChecksumAlgorithm>responseValidationAlgorithmsV2()ChecksumSpecs.BuildertoBuilder()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static ChecksumSpecs.Builder builder()
-
algorithm
@Deprecated public Algorithm algorithm()
Deprecated.usealgorithmV2()instead
-
algorithmV2
public ChecksumAlgorithm algorithmV2()
-
headerName
public String headerName()
-
isRequestStreaming
public boolean isRequestStreaming()
-
isValidationEnabled
public boolean isValidationEnabled()
-
isRequestChecksumRequired
public boolean isRequestChecksumRequired()
-
requestAlgorithmHeader
public String requestAlgorithmHeader()
-
responseValidationAlgorithms
@Deprecated public List<Algorithm> responseValidationAlgorithms()
Deprecated.usealgorithmV2()instead
-
responseValidationAlgorithmsV2
public List<ChecksumAlgorithm> responseValidationAlgorithmsV2()
-
toBuilder
public ChecksumSpecs.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChecksumSpecs.Builder,ChecksumSpecs>
-
-