public static interface S3Object.Builder extends CopyableBuilder<S3Object.Builder,S3Object>
| Modifier and Type | Method and Description |
|---|---|
S3Object.Builder |
eTag(String eTag)
Sets the value of the ETag property for this object.
|
S3Object.Builder |
key(String key)
Sets the value of the Key property for this object.
|
S3Object.Builder |
lastModified(Instant lastModified)
Sets the value of the LastModified property for this object.
|
default S3Object.Builder |
owner(Consumer<Owner.Builder> owner)
Sets the value of the Owner property for this object.
|
S3Object.Builder |
owner(Owner owner)
Sets the value of the Owner property for this object.
|
S3Object.Builder |
size(Long size)
Sets the value of the Size property for this object.
|
S3Object.Builder |
storageClass(ObjectStorageClass storageClass)
The class of storage used to store the object.
|
S3Object.Builder |
storageClass(String storageClass)
The class of storage used to store the object.
|
copyapply, buildS3Object.Builder key(String key)
key - The new value for the Key property for this object.S3Object.Builder lastModified(Instant lastModified)
lastModified - The new value for the LastModified property for this object.S3Object.Builder eTag(String eTag)
eTag - The new value for the ETag property for this object.S3Object.Builder size(Long size)
size - The new value for the Size property for this object.S3Object.Builder storageClass(String storageClass)
storageClass - The class of storage used to store the object.ObjectStorageClass,
ObjectStorageClassS3Object.Builder storageClass(ObjectStorageClass storageClass)
storageClass - The class of storage used to store the object.ObjectStorageClass,
ObjectStorageClassS3Object.Builder owner(Owner owner)
owner - The new value for the Owner property for this object.default S3Object.Builder owner(Consumer<Owner.Builder> owner)
Owner.Builder avoiding the need to create one
manually via Owner.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to owner(Owner).owner - a consumer that will call methods on Owner.Builderowner(Owner)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.