Class ChecksumSpecs.Builder
java.lang.Object
software.amazon.awssdk.core.checksums.ChecksumSpecs.Builder
- All Implemented Interfaces:
Buildable,CopyableBuilder<ChecksumSpecs.Builder,,ChecksumSpecs> SdkBuilder<ChecksumSpecs.Builder,ChecksumSpecs>
- Enclosing class:
ChecksumSpecs
public static final class ChecksumSpecs.Builder
extends Object
implements CopyableBuilder<ChecksumSpecs.Builder,ChecksumSpecs>
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.algorithmV2(ChecksumAlgorithm algorithm) build()An immutable object that is created from the properties that have been set on the builder.headerName(String headerName) isRequestChecksumRequired(boolean isRequestChecksumRequired) isRequestStreaming(boolean isRequestStreaming) isValidationEnabled(boolean isValidationEnabled) requestAlgorithmHeader(String requestAlgorithmHeader) Configure the request algorithm header, for example: "x-amz-sdk-checksum-algorithm:CRC32" Note this is different fromheaderName(String)which is the checksum header, "x-amz-checksum-crc32:zc3xbw=="responseValidationAlgorithms(List<Algorithm> responseValidationAlgorithms) Deprecated.useresponseValidationAlgorithmsinsteadresponseValidationAlgorithmsV2(List<ChecksumAlgorithm> responseValidationAlgorithms) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
algorithm
Deprecated.usealgorithmV2(ChecksumAlgorithm)instead -
algorithmV2
-
headerName
-
responseValidationAlgorithms
@Deprecated public ChecksumSpecs.Builder responseValidationAlgorithms(List<Algorithm> responseValidationAlgorithms) Deprecated.useresponseValidationAlgorithmsinstead -
responseValidationAlgorithmsV2
public ChecksumSpecs.Builder responseValidationAlgorithmsV2(List<ChecksumAlgorithm> responseValidationAlgorithms) -
isValidationEnabled
-
isRequestChecksumRequired
-
isRequestStreaming
-
requestAlgorithmHeader
Configure the request algorithm header, for example: "x-amz-sdk-checksum-algorithm:CRC32" Note this is different fromheaderName(String)which is the checksum header, "x-amz-checksum-crc32:zc3xbw==" -
build
Description copied from interface:SdkBuilderAn immutable object that is created from the properties that have been set on the builder.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<ChecksumSpecs.Builder,ChecksumSpecs> - Returns:
- an instance of T
-
algorithmV2(ChecksumAlgorithm)instead