public static class UploadConfiguration.UploadConfigurationBuilder extends Object
public UploadConfiguration.UploadConfigurationBuilder enforceMd5(Boolean enforceMd5)
Sets the enforce MD5 flag for both enforceMd5BeforeUpload(Boolean)
and enforceMd5BeforeMultipartUpload(Boolean)
(Boolean)} in a single call.
enforceMd5
- true to enforce MD5 everywhere, false to enforce it nowhere, null to
use default values.public UploadConfiguration.UploadConfigurationBuilder enforceAdditionalChecksum(ChecksumAlgorithm enforceAdditionalChecksum)
Sets the enforce additional checksum flag for both enforceAdditionalChecksumBeforeUpload(ChecksumAlgorithm)
and enforceAdditionalChecksumBeforeMultipartUpload(ChecksumAlgorithm)
in a single call.
enforceAdditionalChecksum
- the additional checksum algorithm to enforce everywhere,
null to use default values.@Deprecated public UploadConfiguration.UploadConfigurationBuilder maxPartsForMultipartUpload(Integer maxPartsForMultipartUpload)
UploadConfiguration.MAXIMUM_NUM_ALLOWED_PARTS
@Deprecated public UploadConfiguration.UploadConfigurationBuilder minimumLengthPerUploadPart(Integer minimumLengthPerUploadPart)
lengthPerUploadPart(Integer)
instead.public UploadConfiguration.UploadConfigurationBuilder minimumLengthForMultipartUpload(Integer minimumLengthForMultipartUpload)
this
.public UploadConfiguration.UploadConfigurationBuilder lengthPerUploadPart(Integer lengthPerUploadPart)
this
.public UploadConfiguration.UploadConfigurationBuilder enforceMd5BeforeUpload(Boolean enforceMd5BeforeUpload)
this
.public UploadConfiguration.UploadConfigurationBuilder enforceMd5BeforeMultipartUpload(Boolean enforceMd5BeforeMultipartUpload)
this
.public UploadConfiguration.UploadConfigurationBuilder enforceAdditionalChecksumBeforeUpload(ChecksumAlgorithm enforceAdditionalChecksumBeforeUpload)
this
.public UploadConfiguration.UploadConfigurationBuilder enforceAdditionalChecksumBeforeMultipartUpload(ChecksumAlgorithm enforceAdditionalChecksumBeforeMultipartUpload)
this
.public UploadConfiguration.UploadConfigurationBuilder allowMultipartUploads(Boolean allowMultipartUploads)
this
.public UploadConfiguration.UploadConfigurationBuilder allowParallelUploads(Boolean allowParallelUploads)
this
.public UploadConfiguration.UploadConfigurationBuilder disableAutoAbort(Boolean disableAutoAbort)
this
.public UploadConfiguration.UploadConfigurationBuilder additionalChecksumAlgorithm(ChecksumAlgorithm additionalChecksumAlgorithm)
this
.public UploadConfiguration build()
Copyright © 2016–2024. All rights reserved.