Example usage for Java com.amazonaws.services.s3.model GetObjectRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
GetObjectRequest(String bucketName, String key) Constructs a new GetObjectRequest with all the required parameters. | |
GetObjectRequest(String bucketName, String key, String versionId) Constructs a new GetObjectRequest with all the required parameters. | |
GetObjectRequest(String bucketName, String key, boolean isRequesterPays) Constructs a new GetObjectRequest with all the required parameters. | |
GetObjectRequest(S3ObjectId s3ObjectId) |
String | getBucketName() Gets the name of the bucket containing the object to be downloaded. |
String | getKey() Gets the key under which the object to be downloaded is stored. |
com.amazonaws.services.s3.model.ProgressListener | getProgressListener() Returns the optional progress listener for receiving updates about object download status. |
long[] | getRange() Gets the optional inclusive byte range within the desired object that will be downloaded by this request. |
void | setMatchingETagConstraints(List Sets the optional list of ETag constraints that when present must include a match for the object's current ETag in order for this request to be executed. |
void | setModifiedSinceConstraint(Date date) Sets the optional modified constraint that restricts this request to executing only if the object has been modified after the specified date. |
void | setNonmatchingETagConstraints(List Sets the optional list of ETag constraints that when present must not include a match for the object's current ETag in order for this request to be executed. |
void | setProgressListener(com.amazonaws.services.s3.model.ProgressListener progressListener) Sets the optional progress listener for receiving updates about object download status. |
void | setRange(long start) Sets the optional inclusive start range within the desired object that the rest of which will be downloaded by this request. |
void | setRange(long start, long end) Sets the optional inclusive byte range within the desired object that will be downloaded by this request. |
void | setSSECustomerKey(SSECustomerKey sseKey) Sets the optional customer-provided server-side encryption key to use to decrypt this object. |
void | setUnmodifiedSinceConstraint(Date date) Sets the optional unmodified constraint that restricts this request to executing only if the object has not been modified after the specified date. |
void | setVersionId(String versionId) Sets the optional version ID specifying which version of the object to download. |
GetObjectRequest | withRange(long start, long end) Sets the optional inclusive byte range within the desired object that will be downloaded by this request. |
GetObjectRequest | withSSECustomerKey(SSECustomerKey sseKey) Sets the optional customer-provided server-side encryption key to use to decrypt this object, and returns the updated GetObjectRequest so that additional method calls may be chained together. |