Interface Part.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Part.Builder,Part>
,SdkBuilder<Part.Builder,Part>
,SdkPojo
- Enclosing class:
- Part
public static interface Part.Builder extends SdkPojo, CopyableBuilder<Part.Builder,Part>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Part.Builder
checksumCRC32(String checksumCRC32)
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.Part.Builder
checksumCRC32C(String checksumCRC32C)
The base64-encoded, 32-bit CRC32C checksum of the object.Part.Builder
checksumSHA1(String checksumSHA1)
The base64-encoded, 160-bit SHA-1 digest of the object.Part.Builder
checksumSHA256(String checksumSHA256)
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.Part.Builder
eTag(String eTag)
Entity tag returned when the part was uploaded.Part.Builder
lastModified(Instant lastModified)
Date and time at which the part was uploaded.Part.Builder
partNumber(Integer partNumber)
Part number identifying the part.Part.Builder
size(Long size)
Size in bytes of the uploaded part data.-
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
-
partNumber
Part.Builder partNumber(Integer partNumber)
Part number identifying the part. This is a positive integer between 1 and 10,000.
- Parameters:
partNumber
- Part number identifying the part. This is a positive integer between 1 and 10,000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModified
Part.Builder lastModified(Instant lastModified)
Date and time at which the part was uploaded.
- Parameters:
lastModified
- Date and time at which the part was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
Part.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.
-
size
Part.Builder size(Long size)
Size in bytes of the uploaded part data.
- Parameters:
size
- Size in bytes of the uploaded part data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC32
Part.Builder checksumCRC32(String checksumCRC32)
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumCRC32
- This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of 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
Part.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
Part.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
Part.Builder checksumSHA256(String checksumSHA256)
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumSHA256
- This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of 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.
-
-