Interface GetPartResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPartResponse.Builder,,GetPartResponse> S3Response.Builder,SdkBuilder<GetPartResponse.Builder,,GetPartResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPartResponse
-
Method Summary
Modifier and TypeMethodDescriptionacceptRanges(String acceptRanges) Indicates that a range of bytes was specified in the request.bucketKeyEnabled(Boolean bucketKeyEnabled) Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).checksumCRC32(String checksumCRC32) The Base64 encoded, 32-bitCRC32checksum of the part.checksumCRC32C(String checksumCRC32C) The Base64 encoded, 32-bitCRC32Cchecksum of the part.checksumCRC64NVME(String checksumCRC64NVME) The Base64 encoded, 64-bitCRC64NVMEchecksum of the part.checksumMD5(String checksumMD5) The Base64 encoded, 128-bitMD5digest of the part.checksumSHA1(String checksumSHA1) The Base64 encoded, 160-bitSHA1digest of the part.checksumSHA256(String checksumSHA256) The Base64 encoded, 256-bitSHA256digest of the part.checksumSHA512(String checksumSHA512) The Base64 encoded, 512-bitSHA512digest of the part.checksumXXHASH128(String checksumXXHASH128) The Base64 encoded, 128-bitXXHASH128checksum of the part.checksumXXHASH3(String checksumXXHASH3) The Base64 encoded, 64-bitXXHASH3checksum of the part.checksumXXHASH64(String checksumXXHASH64) The Base64 encoded, 64-bitXXHASH64checksum of the part.contentLength(Long contentLength) The size of the retrieved part in bytes.contentRange(String contentRange) The portion of the part that was returned in the response.The entity tag of the part.multipartUploadStatus(String multipartUploadStatus) The status of the multipart upload.multipartUploadStatus(MultipartUploadStatus multipartUploadStatus) The status of the multipart upload.requestCharged(String requestCharged) Sets the value of the RequestCharged property for this object.requestCharged(RequestCharged requestCharged) Sets the value of the RequestCharged property for this object.serverSideEncryption(String serverSideEncryption) The server-side encryption algorithm used when storing this multipart upload in Amazon S3.serverSideEncryption(ServerSideEncryption serverSideEncryption) The server-side encryption algorithm used when storing this multipart upload in Amazon S3.ssekmsKeyId(String ssekmsKeyId) If present, indicates the ID of the KMS key that was used for object encryption.storageClass(String storageClass) Provides storage class information about where this part is stored.storageClass(StorageClass storageClass) Provides storage class information about where this part is stored.Version ID of the object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
acceptRanges
Indicates that a range of bytes was specified in the request.
- Parameters:
acceptRanges- Indicates that a range of bytes was specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLength
The size of the retrieved part in bytes.
- Parameters:
contentLength- The size of the retrieved part in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
The entity tag of the part.
- Parameters:
eTag- The entity tag of the part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multipartUploadStatus
The status of the multipart upload. Possible values are:
-
IN_PROGRESS-CompleteMultipartUploadhas not been called. The part data exists, and can be overwritten by a subsequentUploadPartcall with the same part number. -
COMPLETED-CompleteMultipartUploadhas been called. The part data is immutable, and the full object exists.
- Parameters:
multipartUploadStatus- The status of the multipart upload. Possible values are:-
IN_PROGRESS-CompleteMultipartUploadhas not been called. The part data exists, and can be overwritten by a subsequentUploadPartcall with the same part number. -
COMPLETED-CompleteMultipartUploadhas been called. The part data is immutable, and the full object exists.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
multipartUploadStatus
The status of the multipart upload. Possible values are:
-
IN_PROGRESS-CompleteMultipartUploadhas not been called. The part data exists, and can be overwritten by a subsequentUploadPartcall with the same part number. -
COMPLETED-CompleteMultipartUploadhas been called. The part data is immutable, and the full object exists.
- Parameters:
multipartUploadStatus- The status of the multipart upload. Possible values are:-
IN_PROGRESS-CompleteMultipartUploadhas not been called. The part data exists, and can be overwritten by a subsequentUploadPartcall with the same part number. -
COMPLETED-CompleteMultipartUploadhas been called. The part data is immutable, and the full object exists.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
checksumCRC32
The Base64 encoded, 32-bit
CRC32checksum of the part. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumCRC32- The Base64 encoded, 32-bitCRC32checksum of the part. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC32C
The Base64 encoded, 32-bit
CRC32Cchecksum of the part. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumCRC32C- The Base64 encoded, 32-bitCRC32Cchecksum of the part. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC64NVME
The Base64 encoded, 64-bit
CRC64NVMEchecksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumCRC64NVME- The Base64 encoded, 64-bitCRC64NVMEchecksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA1
The Base64 encoded, 160-bit
SHA1digest of the part. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumSHA1- The Base64 encoded, 160-bitSHA1digest of the part. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA256
The Base64 encoded, 256-bit
SHA256digest of the part. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumSHA256- The Base64 encoded, 256-bitSHA256digest of the part. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA512
The Base64 encoded, 512-bit
SHA512digest of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumSHA512- The Base64 encoded, 512-bitSHA512digest of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumMD5
The Base64 encoded, 128-bit
MD5digest of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumMD5- The Base64 encoded, 128-bitMD5digest of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumXXHASH64
The Base64 encoded, 64-bit
XXHASH64checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumXXHASH64- The Base64 encoded, 64-bitXXHASH64checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumXXHASH3
The Base64 encoded, 64-bit
XXHASH3checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumXXHASH3- The Base64 encoded, 64-bitXXHASH3checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumXXHASH128
The Base64 encoded, 128-bit
XXHASH128checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Parameters:
checksumXXHASH128- The Base64 encoded, 128-bitXXHASH128checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
Version ID of the object.
- Parameters:
versionId- Version ID of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentRange
The portion of the part that was returned in the response.
- Parameters:
contentRange- The portion of the part that was returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryption
The server-side encryption algorithm used when storing this multipart upload in Amazon S3.
- Parameters:
serverSideEncryption- The server-side encryption algorithm used when storing this multipart upload in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverSideEncryption
The server-side encryption algorithm used when storing this multipart upload in Amazon S3.
- Parameters:
serverSideEncryption- The server-side encryption algorithm used when storing this multipart upload in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ssekmsKeyId
If present, indicates the ID of the KMS key that was used for object encryption.
- Parameters:
ssekmsKeyId- If present, indicates the ID of the KMS key that was used for object encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketKeyEnabled
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
- Parameters:
bucketKeyEnabled- Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageClass
Provides storage class information about where this part is stored.
For in-progress multipart uploads, this header can return any of the valid values listed for this header.
For completed multipart uploads,
GetPartdoesn't support theGLACIER,DEEP_ARCHIVE, orINTELLIGENT_TIERINGstorage classes.- Parameters:
storageClass- Provides storage class information about where this part is stored.For in-progress multipart uploads, this header can return any of the valid values listed for this header.
For completed multipart uploads,
GetPartdoesn't support theGLACIER,DEEP_ARCHIVE, orINTELLIGENT_TIERINGstorage classes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageClass
Provides storage class information about where this part is stored.
For in-progress multipart uploads, this header can return any of the valid values listed for this header.
For completed multipart uploads,
GetPartdoesn't support theGLACIER,DEEP_ARCHIVE, orINTELLIGENT_TIERINGstorage classes.- Parameters:
storageClass- Provides storage class information about where this part is stored.For in-progress multipart uploads, this header can return any of the valid values listed for this header.
For completed multipart uploads,
GetPartdoesn't support theGLACIER,DEEP_ARCHIVE, orINTELLIGENT_TIERINGstorage classes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestCharged
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestCharged
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-