Class ObjectSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.objectstorage.model.ObjectSummary.Builder
 
- 
- Enclosing class:
- ObjectSummary
 
 public static class ObjectSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectSummary.BuilderarchivalState(ArchivalState archivalState)Archival state of an object.ObjectSummarybuild()ObjectSummary.Buildercopy(ObjectSummary model)ObjectSummary.Builderetag(String etag)The current entity tag (ETag) for the object.ObjectSummary.Buildermd5(String md5)Base64-encoded MD5 hash of the object data.ObjectSummary.Buildername(String name)The name of the object.ObjectSummary.Buildersize(Long size)Size of the object in bytes.ObjectSummary.BuilderstorageTier(StorageTier storageTier)The storage tier that the object is stored in.ObjectSummary.BuildertimeCreated(Date timeCreated)The date and time the object was created, as described in RFC 2616.ObjectSummary.BuildertimeModified(Date timeModified)The date and time the object was modified, as described in RFC 2616, section 14.29.
 
- 
- 
- 
Method Detail- 
namepublic ObjectSummary.Builder name(String name) The name of the object.Avoid entering confidential information. Example: test/object1.log - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
sizepublic ObjectSummary.Builder size(Long size) Size of the object in bytes.- Parameters:
- size- the value to set
- Returns:
- this builder
 
 - 
md5public ObjectSummary.Builder md5(String md5) Base64-encoded MD5 hash of the object data.- Parameters:
- md5- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ObjectSummary.Builder timeCreated(Date timeCreated) The date and time the object was created, as described in RFC 2616.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
etagpublic ObjectSummary.Builder etag(String etag) The current entity tag (ETag) for the object.- Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
storageTierpublic ObjectSummary.Builder storageTier(StorageTier storageTier) The storage tier that the object is stored in.- Parameters:
- storageTier- the value to set
- Returns:
- this builder
 
 - 
archivalStatepublic ObjectSummary.Builder archivalState(ArchivalState archivalState) Archival state of an object.This field is set only for objects in Archive tier. - Parameters:
- archivalState- the value to set
- Returns:
- this builder
 
 - 
timeModifiedpublic ObjectSummary.Builder timeModified(Date timeModified) The date and time the object was modified, as described in RFC 2616, section 14.29.- Parameters:
- timeModified- the value to set
- Returns:
- this builder
 
 - 
buildpublic ObjectSummary build() 
 - 
copypublic ObjectSummary.Builder copy(ObjectSummary model) 
 
- 
 
-