Class ObjectDetail
java.lang.Object
co.yellowdog.platform.model.ObjectDetail
Describes details about an object stored in the YellowDog Object Store service.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectDetail.Builder
builder()
protected boolean
boolean
When the object was last modified.The user allocated namespace used to group objects together.The object name which may contain path seperators '/'.The object size in bytes.int
hashCode()
void
setLastModified
(Instant lastModified) When the object was last modified.void
setNamespace
(String namespace) The user allocated namespace used to group objects together.void
setObjectName
(String objectName) The object name which may contain path seperators '/'.void
setObjectSize
(Long objectSize) The object size in bytes.toString()
-
Method Details
-
builder
-
getNamespace
The user allocated namespace used to group objects together.- Returns:
- the object namespace
-
getObjectName
The object name which may contain path seperators '/'.- Returns:
- the object name
-
getObjectSize
-
getLastModified
When the object was last modified.- Returns:
- when the object was last modified
-
setNamespace
The user allocated namespace used to group objects together.- Parameters:
namespace
- the object namespace
-
setObjectName
The object name which may contain path seperators '/'.- Parameters:
objectName
- the object name
-
setObjectSize
The object size in bytes.- Parameters:
objectSize
- the object size in bytes
-
setLastModified
When the object was last modified.- Parameters:
lastModified
- when the object was last modified
-
equals
-
canEqual
-
hashCode
-
toString
-