public static interface S3Object.Builder extends SdkPojo, CopyableBuilder<S3Object.Builder,S3Object>
| Modifier and Type | Method and Description |
|---|---|
S3Object.Builder |
bucketArn(String bucketArn)
The Amazon Resource Name (ARN) of the bucket that contains the object.
|
S3Object.Builder |
eTag(String eTag)
The entity tag (ETag) that identifies the affected version of the object.
|
S3Object.Builder |
extension(String extension)
The file name extension of the object.
|
S3Object.Builder |
key(String key)
The full key (name) that's assigned to the object.
|
S3Object.Builder |
lastModified(Instant lastModified)
The date and time, in UTC and extended ISO 8601 format, when the object was last modified.
|
S3Object.Builder |
path(String path)
The path to the object, including the full key (name).
|
S3Object.Builder |
publicAccess(Boolean publicAccess)
Specifies whether the object is publicly accessible due to the combination of permissions settings that apply
to the object.
|
default S3Object.Builder |
serverSideEncryption(Consumer<ServerSideEncryption.Builder> serverSideEncryption)
The type of server-side encryption that's used for the object.
|
S3Object.Builder |
serverSideEncryption(ServerSideEncryption serverSideEncryption)
The type of server-side encryption that's used for the object.
|
S3Object.Builder |
size(Long size)
The total storage size, in bytes, of the object.
|
S3Object.Builder |
storageClass(StorageClass storageClass)
The storage class of the object.
|
S3Object.Builder |
storageClass(String storageClass)
The storage class of the object.
|
S3Object.Builder |
tags(Collection<KeyValuePair> tags)
The tags that are associated with the object.
|
S3Object.Builder |
tags(Consumer<KeyValuePair.Builder>... tags)
The tags that are associated with the object.
|
S3Object.Builder |
tags(KeyValuePair... tags)
The tags that are associated with the object.
|
S3Object.Builder |
versionId(String versionId)
The identifier for the affected version of the object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildS3Object.Builder bucketArn(String bucketArn)
The Amazon Resource Name (ARN) of the bucket that contains the object.
bucketArn - The Amazon Resource Name (ARN) of the bucket that contains the object.S3Object.Builder eTag(String eTag)
The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.
eTag - The entity tag (ETag) that identifies the affected version of the object. If the object was
overwritten or changed after Amazon Macie produced the finding, this value might be different from the
current ETag for the object.S3Object.Builder extension(String extension)
The file name extension of the object. If the object doesn't have a file name extension, this value is "".
extension - The file name extension of the object. If the object doesn't have a file name extension, this value is
"".S3Object.Builder key(String key)
The full key (name) that's assigned to the object.
key - The full key (name) that's assigned to the object.S3Object.Builder lastModified(Instant lastModified)
The date and time, in UTC and extended ISO 8601 format, when the object was last modified.
lastModified - The date and time, in UTC and extended ISO 8601 format, when the object was last modified.S3Object.Builder path(String path)
The path to the object, including the full key (name).
path - The path to the object, including the full key (name).S3Object.Builder publicAccess(Boolean publicAccess)
Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.
publicAccess - Specifies whether the object is publicly accessible due to the combination of permissions settings
that apply to the object.S3Object.Builder serverSideEncryption(ServerSideEncryption serverSideEncryption)
The type of server-side encryption that's used for the object.
serverSideEncryption - The type of server-side encryption that's used for the object.default S3Object.Builder serverSideEncryption(Consumer<ServerSideEncryption.Builder> serverSideEncryption)
The type of server-side encryption that's used for the object.
This is a convenience that creates an instance of theServerSideEncryption.Builder avoiding the need
to create one manually via ServerSideEncryption.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to serverSideEncryption(ServerSideEncryption).serverSideEncryption - a consumer that will call methods on ServerSideEncryption.BuilderserverSideEncryption(ServerSideEncryption)S3Object.Builder size(Long size)
The total storage size, in bytes, of the object.
size - The total storage size, in bytes, of the object.S3Object.Builder storageClass(String storageClass)
The storage class of the object.
storageClass - The storage class of the object.StorageClass,
StorageClassS3Object.Builder storageClass(StorageClass storageClass)
The storage class of the object.
storageClass - The storage class of the object.StorageClass,
StorageClassS3Object.Builder tags(Collection<KeyValuePair> tags)
The tags that are associated with the object.
tags - The tags that are associated with the object.S3Object.Builder tags(KeyValuePair... tags)
The tags that are associated with the object.
tags - The tags that are associated with the object.S3Object.Builder tags(Consumer<KeyValuePair.Builder>... tags)
The tags that are associated with the object.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) S3Object.Builder versionId(String versionId)
The identifier for the affected version of the object.
versionId - The identifier for the affected version of the object.Copyright © 2020. All rights reserved.