Interface MultipartUpload.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MultipartUpload.Builder,MultipartUpload>,SdkBuilder<MultipartUpload.Builder,MultipartUpload>,SdkPojo
- Enclosing class:
- MultipartUpload
@Mutable @NotThreadSafe public static interface MultipartUpload.Builder extends SdkPojo, CopyableBuilder<MultipartUpload.Builder,MultipartUpload>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MultipartUpload.BuilderchecksumAlgorithm(String checksumAlgorithm)The algorithm that was used to create a checksum of the object.MultipartUpload.BuilderchecksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)The algorithm that was used to create a checksum of the object.MultipartUpload.BuilderchecksumType(String checksumType)The checksum type that is used to calculate the object’s checksum value.MultipartUpload.BuilderchecksumType(ChecksumType checksumType)The checksum type that is used to calculate the object’s checksum value.MultipartUpload.Builderinitiated(Instant initiated)Date and time at which the multipart upload was initiated.default MultipartUpload.Builderinitiator(Consumer<Initiator.Builder> initiator)Identifies who initiated the multipart upload.MultipartUpload.Builderinitiator(Initiator initiator)Identifies who initiated the multipart upload.MultipartUpload.Builderkey(String key)Key of the object for which the multipart upload was initiated.default MultipartUpload.Builderowner(Consumer<Owner.Builder> owner)Specifies the owner of the object that is part of the multipart upload.MultipartUpload.Builderowner(Owner owner)Specifies the owner of the object that is part of the multipart upload.MultipartUpload.BuilderstorageClass(String storageClass)The class of storage used to store the object.MultipartUpload.BuilderstorageClass(StorageClass storageClass)The class of storage used to store the object.MultipartUpload.BuilderuploadId(String uploadId)Upload ID that identifies the multipart upload.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
uploadId
MultipartUpload.Builder uploadId(String uploadId)
Upload ID that identifies the multipart upload.
- Parameters:
uploadId- Upload ID that identifies the multipart upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
MultipartUpload.Builder key(String key)
Key of the object for which the multipart upload was initiated.
- Parameters:
key- Key of the object for which the multipart upload was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initiated
MultipartUpload.Builder initiated(Instant initiated)
Date and time at which the multipart upload was initiated.
- Parameters:
initiated- Date and time at which the multipart upload was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageClass
MultipartUpload.Builder storageClass(String storageClass)
The class of storage used to store the object.
Directory buckets - Directory buckets only support
EXPRESS_ONEZONE(the S3 Express One Zone storage class) in Availability Zones andONEZONE_IA(the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.- Parameters:
storageClass- The class of storage used to store the object.Directory buckets - Directory buckets only support
EXPRESS_ONEZONE(the S3 Express One Zone storage class) in Availability Zones andONEZONE_IA(the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StorageClass,StorageClass
-
storageClass
MultipartUpload.Builder storageClass(StorageClass storageClass)
The class of storage used to store the object.
Directory buckets - Directory buckets only support
EXPRESS_ONEZONE(the S3 Express One Zone storage class) in Availability Zones andONEZONE_IA(the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.- Parameters:
storageClass- The class of storage used to store the object.Directory buckets - Directory buckets only support
EXPRESS_ONEZONE(the S3 Express One Zone storage class) in Availability Zones andONEZONE_IA(the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StorageClass,StorageClass
-
owner
MultipartUpload.Builder owner(Owner owner)
Specifies the owner of the object that is part of the multipart upload.
Directory buckets - The bucket owner is returned as the object owner for all the objects.
- Parameters:
owner- Specifies the owner of the object that is part of the multipart upload.Directory buckets - The bucket owner is returned as the object owner for all the objects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
default MultipartUpload.Builder owner(Consumer<Owner.Builder> owner)
Specifies the owner of the object that is part of the multipart upload.
This is a convenience method that creates an instance of theDirectory buckets - The bucket owner is returned as the object owner for all the objects.
Owner.Builderavoiding the need to create one manually viaOwner.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toowner(Owner).- Parameters:
owner- a consumer that will call methods onOwner.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
owner(Owner)
-
initiator
MultipartUpload.Builder initiator(Initiator initiator)
Identifies who initiated the multipart upload.
- Parameters:
initiator- Identifies who initiated the multipart upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initiator
default MultipartUpload.Builder initiator(Consumer<Initiator.Builder> initiator)
Identifies who initiated the multipart upload.
This is a convenience method that creates an instance of theInitiator.Builderavoiding the need to create one manually viaInitiator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinitiator(Initiator).- Parameters:
initiator- a consumer that will call methods onInitiator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
initiator(Initiator)
-
checksumAlgorithm
MultipartUpload.Builder checksumAlgorithm(String checksumAlgorithm)
The algorithm that was used to create a checksum of the object.
- Parameters:
checksumAlgorithm- The algorithm that was used to create a checksum of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChecksumAlgorithm,ChecksumAlgorithm
-
checksumAlgorithm
MultipartUpload.Builder checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)
The algorithm that was used to create a checksum of the object.
- Parameters:
checksumAlgorithm- The algorithm that was used to create a checksum of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChecksumAlgorithm,ChecksumAlgorithm
-
checksumType
MultipartUpload.Builder checksumType(String checksumType)
The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumType- The checksum type that is used to calculate the object’s checksum value. 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.
- See Also:
ChecksumType,ChecksumType
-
checksumType
MultipartUpload.Builder checksumType(ChecksumType checksumType)
The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumType- The checksum type that is used to calculate the object’s checksum value. 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.
- See Also:
ChecksumType,ChecksumType
-
-