Package io.minio.messages
Class Item
java.lang.Object
io.minio.messages.Item
- Direct Known Subclasses:
Contents,ListVersionsResult.DeleteMarker,ListVersionsResult.Version
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRestore status of object information.static classUser metadata of object information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionetag()Returns ETag of the object.booleanReturns whether this item is a delete marker or not.booleanisDir()Returns whether this item is a directory or not.booleanisLatest()Returns whether this version ID is latest.Returns last modified time of the object.Returns object name.owner()Returns owner object of given the object.voidsetEncodingType(String encodingType) longsize()Returns object size.Returns storage class of the object.toString()Returns user metadata.userTags()Returns version ID.
-
Constructor Details
-
Item
public Item() -
Item
Constructs a new Item for prefix i.e. directory.
-
-
Method Details
-
setEncodingType
-
objectName
Returns object name. -
lastModified
Returns last modified time of the object. -
etag
Returns ETag of the object. -
size
public long size()Returns object size. -
storageClass
Returns storage class of the object. -
owner
Returns owner object of given the object. -
userMetadata
Returns user metadata. This is MinIO specific extension to ListObjectsV2. -
userTags
-
isLatest
public boolean isLatest()Returns whether this version ID is latest. -
versionId
Returns version ID. -
isDir
public boolean isDir()Returns whether this item is a directory or not. -
isDeleteMarker
public boolean isDeleteMarker()Returns whether this item is a delete marker or not. -
checksumAlgorithm
-
checksumType
-
restoreStatus
-
toString
-