Interface CompletedPart.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CompletedPart.Builder,CompletedPart>
,SdkBuilder<CompletedPart.Builder,CompletedPart>
,SdkPojo
- Enclosing class:
- CompletedPart
public static interface CompletedPart.Builder extends SdkPojo, CopyableBuilder<CompletedPart.Builder,CompletedPart>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletedPart.Builder
checksumCRC32(String checksumCRC32)
The base64-encoded, 32-bit CRC32 checksum of the object.CompletedPart.Builder
checksumCRC32C(String checksumCRC32C)
The base64-encoded, 32-bit CRC32C checksum of the object.CompletedPart.Builder
checksumSHA1(String checksumSHA1)
The base64-encoded, 160-bit SHA-1 digest of the object.CompletedPart.Builder
checksumSHA256(String checksumSHA256)
The base64-encoded, 256-bit SHA-256 digest of the object.CompletedPart.Builder
eTag(String eTag)
Entity tag returned when the part was uploaded.CompletedPart.Builder
partNumber(Integer partNumber)
Part number that identifies the part.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
eTag
CompletedPart.Builder eTag(String eTag)
Entity tag returned when the part was uploaded.
- Parameters:
eTag
- Entity tag returned when the part was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC32
CompletedPart.Builder checksumCRC32(String checksumCRC32)
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumCRC32
- The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, 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
CompletedPart.Builder checksumCRC32C(String checksumCRC32C)
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumCRC32C
- The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, 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
CompletedPart.Builder checksumSHA1(String checksumSHA1)
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumSHA1
- The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, 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
CompletedPart.Builder checksumSHA256(String checksumSHA256)
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumSHA256
- The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, 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.
-
partNumber
CompletedPart.Builder partNumber(Integer partNumber)
Part number that identifies the part. This is a positive integer between 1 and 10,000.
-
General purpose buckets - In
CompleteMultipartUpload
, when a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) is applied to each part, thePartNumber
must start at 1 and the part numbers must be consecutive. Otherwise, Amazon S3 generates an HTTP400 Bad Request
status code and anInvalidPartOrder
error code. -
Directory buckets - In
CompleteMultipartUpload
, thePartNumber
must start at 1 and the part numbers must be consecutive.
- Parameters:
partNumber
- Part number that identifies the part. This is a positive integer between 1 and 10,000.-
General purpose buckets - In
CompleteMultipartUpload
, when a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) is applied to each part, thePartNumber
must start at 1 and the part numbers must be consecutive. Otherwise, Amazon S3 generates an HTTP400 Bad Request
status code and anInvalidPartOrder
error code. -
Directory buckets - In
CompleteMultipartUpload
, thePartNumber
must start at 1 and the part numbers must be consecutive.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-