Interface DescribeAttachmentUploadStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAttachmentUploadStatusResponse.Builder,,DescribeAttachmentUploadStatusResponse> SdkBuilder<DescribeAttachmentUploadStatusResponse.Builder,,DescribeAttachmentUploadStatusResponse> SdkPojo,SdkResponse.Builder,SupportResponse.Builder
- Enclosing class:
DescribeAttachmentUploadStatusResponse
@Mutable
@NotThreadSafe
public static interface DescribeAttachmentUploadStatusResponse.Builder
extends SupportResponse.Builder, SdkPojo, CopyableBuilder<DescribeAttachmentUploadStatusResponse.Builder,DescribeAttachmentUploadStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the file being uploaded, including the file extension.uploadProgress(Consumer<UploadProgress.Builder> uploadProgress) The progress of the multipart upload, including the total number of parts and the number of parts that have been successfully uploaded.uploadProgress(UploadProgress uploadProgress) The progress of the multipart upload, including the total number of parts and the number of parts that have been successfully uploaded.uploadStatus(String uploadStatus) The current status of the multipart upload.uploadStatus(UploadStatus uploadStatus) The current status of the multipart upload.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.support.model.SupportResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
uploadStatus
The current status of the multipart upload. Valid values:
attachment-ready,attachment-not-ready, andfailed.- Parameters:
uploadStatus- The current status of the multipart upload. Valid values:attachment-ready,attachment-not-ready, andfailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uploadStatus
The current status of the multipart upload. Valid values:
attachment-ready,attachment-not-ready, andfailed.- Parameters:
uploadStatus- The current status of the multipart upload. Valid values:attachment-ready,attachment-not-ready, andfailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileName
The name of the file being uploaded, including the file extension.
- Parameters:
fileName- The name of the file being uploaded, including the file extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadProgress
The progress of the multipart upload, including the total number of parts and the number of parts that have been successfully uploaded.
- Parameters:
uploadProgress- The progress of the multipart upload, including the total number of parts and the number of parts that have been successfully uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadProgress
default DescribeAttachmentUploadStatusResponse.Builder uploadProgress(Consumer<UploadProgress.Builder> uploadProgress) The progress of the multipart upload, including the total number of parts and the number of parts that have been successfully uploaded.
This is a convenience method that creates an instance of theUploadProgress.Builderavoiding the need to create one manually viaUploadProgress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touploadProgress(UploadProgress).- Parameters:
uploadProgress- a consumer that will call methods onUploadProgress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-