Package | Description |
---|---|
software.amazon.awssdk.services.s3 |
|
software.amazon.awssdk.services.s3.model |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<PutObjectResponse> |
S3AsyncClient.putObject(Consumer<PutObjectRequest.Builder> putObjectRequest,
AsyncRequestBody requestBody)
Adds an object to a bucket.
|
default PutObjectResponse |
S3Client.putObject(Consumer<PutObjectRequest.Builder> putObjectRequest,
Path filePath)
Adds an object to a bucket.
|
default CompletableFuture<PutObjectResponse> |
S3AsyncClient.putObject(Consumer<PutObjectRequest.Builder> putObjectRequest,
Path sourcePath)
Adds an object to a bucket.
|
default PutObjectResponse |
S3Client.putObject(Consumer<PutObjectRequest.Builder> putObjectRequest,
RequestBody requestBody)
Adds an object to a bucket.
|
Modifier and Type | Method and Description |
---|---|
PutObjectRequest.Builder |
PutObjectRequest.Builder.acl(ObjectCannedACL acl)
The canned ACL to apply to the object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.acl(String acl)
The canned ACL to apply to the object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.bucket(String bucket)
Name of the bucket to which the PUT operation was initiated.
|
static PutObjectRequest.Builder |
PutObjectRequest.builder() |
PutObjectRequest.Builder |
PutObjectRequest.Builder.cacheControl(String cacheControl)
Specifies caching behavior along the request/reply chain.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.contentDisposition(String contentDisposition)
Specifies presentational information for the object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.contentEncoding(String contentEncoding)
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be
applied to obtain the media-type referenced by the Content-Type header field.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.contentLanguage(String contentLanguage)
The language the content is in.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.contentLength(Long contentLength)
Size of the body in bytes.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.contentMD5(String contentMD5)
The base64-encoded 128-bit MD5 digest of the part data.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.contentType(String contentType)
A standard MIME type describing the format of the object data.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.expires(Instant expires)
The date and time at which the object is no longer cacheable.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.grantFullControl(String grantFullControl)
Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.grantRead(String grantRead)
Allows grantee to read the object data and its metadata.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.grantReadACP(String grantReadACP)
Allows grantee to read the object ACL.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.grantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.key(String key)
Object key for which the PUT operation was initiated.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.metadata(Map<String,String> metadata)
A map of metadata to store with the object in S3.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.objectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
The Legal Hold status that you want to apply to the specified object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
The Legal Hold status that you want to apply to the specified object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.objectLockMode(ObjectLockMode objectLockMode)
The object lock mode that you want to apply to this object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.objectLockMode(String objectLockMode)
The object lock mode that you want to apply to this object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.objectLockRetainUntilDate(Instant objectLockRetainUntilDate)
The date and time when you want this object's object lock to expire.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutObjectRequest.Builder |
PutObjectRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutObjectRequest.Builder |
PutObjectRequest.Builder.requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.serverSideEncryption(ServerSideEncryption serverSideEncryption)
The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.serverSideEncryption(String serverSideEncryption)
The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.sseCustomerAlgorithm(String sseCustomerAlgorithm)
Specifies the algorithm to use to when encrypting the object (e.g., AES256).
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.sseCustomerKey(String sseCustomerKey)
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.sseCustomerKeyMD5(String sseCustomerKeyMD5)
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.ssekmsKeyId(String ssekmsKeyId)
Specifies the AWS KMS key ID to use for object encryption.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.storageClass(StorageClass storageClass)
The type of storage to use for the object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.storageClass(String storageClass)
The type of storage to use for the object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.tagging(String tagging)
The tag-set for the object.
|
PutObjectRequest.Builder |
PutObjectRequest.Builder.tagging(Tagging tagging) |
PutObjectRequest.Builder |
PutObjectRequest.toBuilder() |
PutObjectRequest.Builder |
PutObjectRequest.Builder.websiteRedirectLocation(String websiteRedirectLocation)
If the bucket is configured as a website, redirects requests for this object to another object in the same
bucket or to an external URL.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends PutObjectRequest.Builder> |
PutObjectRequest.serializableBuilderClass() |
Copyright © 2019. All rights reserved.