public static interface ObjectVersion.Builder extends SdkPojo, CopyableBuilder<ObjectVersion.Builder,ObjectVersion>
| Modifier and Type | Method and Description |
|---|---|
ObjectVersion.Builder |
eTag(String eTag)
The entity tag is an MD5 hash of that version of the object.
|
ObjectVersion.Builder |
isLatest(Boolean isLatest)
Specifies whether the object is (true) or is not (false) the latest version of an object.
|
ObjectVersion.Builder |
key(String key)
The object key.
|
ObjectVersion.Builder |
lastModified(Instant lastModified)
Date and time the object was last modified.
|
default ObjectVersion.Builder |
owner(Consumer<Owner.Builder> owner)
Specifies the owner of the object.
|
ObjectVersion.Builder |
owner(Owner owner)
Specifies the owner of the object.
|
ObjectVersion.Builder |
size(Long size)
Size in bytes of the object.
|
ObjectVersion.Builder |
storageClass(ObjectVersionStorageClass storageClass)
The class of storage used to store the object.
|
ObjectVersion.Builder |
storageClass(String storageClass)
The class of storage used to store the object.
|
ObjectVersion.Builder |
versionId(String versionId)
Version ID of an object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildObjectVersion.Builder eTag(String eTag)
The entity tag is an MD5 hash of that version of the object.
eTag - The entity tag is an MD5 hash of that version of the object.ObjectVersion.Builder size(Long size)
Size in bytes of the object.
size - Size in bytes of the object.ObjectVersion.Builder storageClass(String storageClass)
The class of storage used to store the object.
storageClass - The class of storage used to store the object.ObjectVersionStorageClass,
ObjectVersionStorageClassObjectVersion.Builder storageClass(ObjectVersionStorageClass storageClass)
The class of storage used to store the object.
storageClass - The class of storage used to store the object.ObjectVersionStorageClass,
ObjectVersionStorageClassObjectVersion.Builder key(String key)
The object key.
key - The object key.ObjectVersion.Builder versionId(String versionId)
Version ID of an object.
versionId - Version ID of an object.ObjectVersion.Builder isLatest(Boolean isLatest)
Specifies whether the object is (true) or is not (false) the latest version of an object.
isLatest - Specifies whether the object is (true) or is not (false) the latest version of an object.ObjectVersion.Builder lastModified(Instant lastModified)
Date and time the object was last modified.
lastModified - Date and time the object was last modified.ObjectVersion.Builder owner(Owner owner)
Specifies the owner of the object.
owner - Specifies the owner of the object.default ObjectVersion.Builder owner(Consumer<Owner.Builder> owner)
Specifies the owner of the object.
This is a convenience that creates an instance of theOwner.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 © 2020. All rights reserved.