Class UploadFileRequest
java.lang.Object
software.amazon.awssdk.transfer.s3.model.UploadFileRequest
- All Implemented Interfaces:
 TransferObjectRequest,TransferRequest,ToCopyableBuilder<UploadFileRequest.Builder,UploadFileRequest> 
public final class UploadFileRequest
extends Object
implements TransferObjectRequest, ToCopyableBuilder<UploadFileRequest.Builder,UploadFileRequest> 
Represents the request to upload a local file to an object in S3. For non-file-based uploads, you may use 
UploadRequest
 instead.- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA builder for aUploadFileRequest, created withbuilder() - 
Method Summary
Modifier and TypeMethodDescriptionstatic UploadFileRequest.Builderbuilder()Creates a builder that can be used to create aUploadFileRequest.booleaninthashCode()static Class<? extends UploadFileRequest.Builder> source()ThePathcontaining data to send to the service.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 
PutObjectRequestrequest that should be used for the upload 
 - 
source
ThePathcontaining data to send to the service.- Returns:
 - the request body
 
 - 
transferListeners
- Specified by:
 transferListenersin interfaceTransferObjectRequest- Returns:
 - the List of transferListeners.
 
 - 
builder
Creates a builder that can be used to create aUploadFileRequest.- See Also:
 
 - 
serializableBuilderClass
 - 
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<UploadFileRequest.Builder,UploadFileRequest> - Returns:
 - a builder for type T
 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -