public class MinioItem extends MinioCommon implements WithOperations<MinioItemOperations>
Constructor and Description |
---|
MinioItem(CharSequence name,
CharSequence buck,
long size,
boolean file,
CharSequence etag,
Supplier<Date> time,
MinioOperations oper) |
Modifier and Type | Method and Description |
---|---|
protected static MinioItemOperations |
buildWithOperations(MinioItem self,
MinioOperations oper) |
boolean |
equals(Object other) |
Date |
getLastModified() |
String |
getName() |
int |
hashCode() |
boolean |
isFile() |
String |
toDescription() |
MinioItemOperations |
withOperations() |
getBucket, getEtag, getSize
toJSONString, toString
setName
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toJSONString
public MinioItem(@NonNull CharSequence name, @NonNull CharSequence buck, long size, boolean file, @Nullable CharSequence etag, @NonNull Supplier<Date> time, @NonNull MinioOperations oper)
@NonNull public MinioItemOperations withOperations()
withOperations
in interface WithOperations<MinioItemOperations>
public boolean isFile()
@NonNull public String getName()
getName
in interface WithName
getName
in class AbstractNamed
@NonNull public String toDescription()
toDescription
in interface WithDescription
toDescription
in class MinioCommon
public int hashCode()
hashCode
in class MinioCommon
public boolean equals(Object other)
equals
in class MinioCommon
@NonNull protected static MinioItemOperations buildWithOperations(@NonNull MinioItem self, @NonNull MinioOperations oper)