public static class ObjectVersionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ObjectVersionSummary.Builder |
archivalState(ArchivalState archivalState)
Archival state of an object.
|
ObjectVersionSummary |
build() |
ObjectVersionSummary.Builder |
copy(ObjectVersionSummary model) |
ObjectVersionSummary.Builder |
etag(String etag)
The current entity tag (ETag) for the object.
|
ObjectVersionSummary.Builder |
isDeleteMarker(Boolean isDeleteMarker)
This flag will indicate if the version is deleted or not.
|
ObjectVersionSummary.Builder |
md5(String md5)
Base64-encoded MD5 hash of the object data.
|
ObjectVersionSummary.Builder |
name(String name)
The name of the object.
|
ObjectVersionSummary.Builder |
size(Long size)
Size of the object in bytes.
|
ObjectVersionSummary.Builder |
storageTier(StorageTier storageTier)
The storage tier that the object is stored in.
|
ObjectVersionSummary.Builder |
timeCreated(Date timeCreated)
The date and time the object was created, as described in RFC
2616.
|
ObjectVersionSummary.Builder |
timeModified(Date timeModified)
The date and time the object was modified, as described in RFC
2616.
|
ObjectVersionSummary.Builder |
versionId(String versionId)
VersionId of the object.
|
public ObjectVersionSummary.Builder name(String name)
The name of the object. Avoid entering confidential information. Example: test/object1.log
name
- the value to setpublic ObjectVersionSummary.Builder size(Long size)
Size of the object in bytes.
size
- the value to setpublic ObjectVersionSummary.Builder md5(String md5)
Base64-encoded MD5 hash of the object data.
md5
- the value to setpublic ObjectVersionSummary.Builder timeCreated(Date timeCreated)
The date and time the object was created, as described in RFC 2616.
timeCreated
- the value to setpublic ObjectVersionSummary.Builder timeModified(Date timeModified)
The date and time the object was modified, as described in RFC 2616.
timeModified
- the value to setpublic ObjectVersionSummary.Builder etag(String etag)
The current entity tag (ETag) for the object.
etag
- the value to setpublic ObjectVersionSummary.Builder storageTier(StorageTier storageTier)
The storage tier that the object is stored in.
storageTier
- the value to setpublic ObjectVersionSummary.Builder archivalState(ArchivalState archivalState)
Archival state of an object. This field is set only for objects in Archive tier.
archivalState
- the value to setpublic ObjectVersionSummary.Builder versionId(String versionId)
VersionId of the object.
versionId
- the value to setpublic ObjectVersionSummary.Builder isDeleteMarker(Boolean isDeleteMarker)
This flag will indicate if the version is deleted or not.
isDeleteMarker
- the value to setpublic ObjectVersionSummary build()
public ObjectVersionSummary.Builder copy(ObjectVersionSummary model)
Copyright © 2016–2024. All rights reserved.