Class ChecksumSpecs
- java.lang.Object
-
- software.amazon.awssdk.core.checksums.ChecksumSpecs
-
- All Implemented Interfaces:
ToCopyableBuilder<ChecksumSpecs.Builder,ChecksumSpecs>
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 class
ChecksumSpecs.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Algorithm
algorithm()
Deprecated.usealgorithmV2()
insteadChecksumAlgorithm
algorithmV2()
static ChecksumSpecs.Builder
builder()
boolean
equals(Object o)
int
hashCode()
String
headerName()
boolean
isRequestChecksumRequired()
boolean
isRequestStreaming()
boolean
isValidationEnabled()
String
requestAlgorithmHeader()
List<Algorithm>
responseValidationAlgorithms()
Deprecated.usealgorithmV2()
insteadList<ChecksumAlgorithm>
responseValidationAlgorithmsV2()
ChecksumSpecs.Builder
toBuilder()
String
toString()
-
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:
toBuilder
in interfaceToCopyableBuilder<ChecksumSpecs.Builder,ChecksumSpecs>
-
-