| Package | Description |
|---|---|
| software.amazon.awssdk.services.s3 |
|
| software.amazon.awssdk.services.s3.model |
| Modifier and Type | Method and Description |
|---|---|
default ResponseInputStream<GetObjectResponse> |
S3Client.getObject(Consumer<GetObjectRequest.Builder> getObjectRequest)
Retrieves objects from Amazon S3.
|
default <ReturnT> CompletableFuture<ReturnT> |
S3AsyncClient.getObject(Consumer<GetObjectRequest.Builder> getObjectRequest,
AsyncResponseTransformer<GetObjectResponse,ReturnT> asyncResponseTransformer)
Retrieves objects from Amazon S3.
|
default GetObjectResponse |
S3Client.getObject(Consumer<GetObjectRequest.Builder> getObjectRequest,
Path filePath)
Retrieves objects from Amazon S3.
|
default CompletableFuture<GetObjectResponse> |
S3AsyncClient.getObject(Consumer<GetObjectRequest.Builder> getObjectRequest,
Path destinationPath)
Retrieves objects from Amazon S3.
|
default <ReturnT> ReturnT |
S3Client.getObject(Consumer<GetObjectRequest.Builder> getObjectRequest,
ResponseTransformer<GetObjectResponse,ReturnT> responseTransformer)
Retrieves objects from Amazon S3.
|
default ResponseBytes<GetObjectResponse> |
S3Client.getObjectAsBytes(Consumer<GetObjectRequest.Builder> getObjectRequest)
Retrieves objects from Amazon S3.
|
| Modifier and Type | Method and Description |
|---|---|
GetObjectRequest.Builder |
GetObjectRequest.Builder.bucket(String bucket)
|
static GetObjectRequest.Builder |
GetObjectRequest.builder() |
GetObjectRequest.Builder |
GetObjectRequest.Builder.ifMatch(String ifMatch)
Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412
(precondition failed).
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.ifModifiedSince(Instant ifModifiedSince)
Return the object only if it has been modified since the specified time, otherwise return a 304 (not
modified).
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.ifNoneMatch(String ifNoneMatch)
Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304
(not modified).
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.ifUnmodifiedSince(Instant ifUnmodifiedSince)
Return the object only if it has not been modified since the specified time, otherwise return a 412
(precondition failed).
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.key(String key)
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetObjectRequest.Builder |
GetObjectRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetObjectRequest.Builder |
GetObjectRequest.Builder.partNumber(Integer partNumber)
Part number of the object being read.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.range(String range)
Downloads the specified range bytes of an object.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.responseCacheControl(String responseCacheControl)
Sets the Cache-Control header of the response.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.responseContentDisposition(String responseContentDisposition)
Sets the Content-Disposition header of the response
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.responseContentEncoding(String responseContentEncoding)
Sets the Content-Encoding header of the response.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.responseContentLanguage(String responseContentLanguage)
Sets the Content-Language header of the response.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.responseContentType(String responseContentType)
Sets the Content-Type header of the response.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.responseExpires(Instant responseExpires)
Sets the Expires header of the response.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.sseCustomerAlgorithm(String sseCustomerAlgorithm)
Specifies the algorithm to use to when encrypting the object (e.g., AES256).
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.sseCustomerKey(String sseCustomerKey)
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
|
GetObjectRequest.Builder |
GetObjectRequest.Builder.sseCustomerKeyMD5(String sseCustomerKeyMD5)
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
GetObjectRequest.Builder |
GetObjectRequest.toBuilder() |
GetObjectRequest.Builder |
GetObjectRequest.Builder.versionId(String versionId)
VersionId used to reference a specific version of the object.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends GetObjectRequest.Builder> |
GetObjectRequest.serializableBuilderClass() |
Copyright © 2019. All rights reserved.