Class UploadRequest
java.lang.Object
software.amazon.awssdk.transfer.s3.model.UploadRequest
- All Implemented Interfaces:
TransferObjectRequest
,TransferRequest
,ToCopyableBuilder<UploadRequest.Builder,
UploadRequest>
public final class UploadRequest
extends Object
implements TransferObjectRequest, ToCopyableBuilder<UploadRequest.Builder,UploadRequest>
Upload the given
AsyncRequestBody
to an object in S3. For file-based uploads, you may use UploadFileRequest
instead.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A builder for aUploadRequest
, created withbuilder()
-
Method Summary
Modifier and TypeMethodDescriptionstatic UploadRequest.Builder
builder()
Creates a builder that can be used to create aUploadRequest
.boolean
int
hashCode()
TheAsyncRequestBody
containing data to send to the service.static Class
<? extends UploadRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.toString()
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
putObjectRequest
- Returns:
- The
PutObjectRequest
request that should be used for the upload
-
requestBody
TheAsyncRequestBody
containing data to send to the service.- Returns:
- the request body
-
transferListeners
- Specified by:
transferListeners
in interfaceTransferObjectRequest
- Returns:
- the List of
TransferListener
s that will be notified as part of this request.
-
builder
Creates a builder that can be used to create aUploadRequest
.- See Also:
-
serializableBuilderClass
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<UploadRequest.Builder,
UploadRequest> - Returns:
- a builder for type T
-
equals
-
hashCode
public int hashCode() -
toString
-