public class Attributes
extends java.lang.Object
implements java.io.Serializable
Represents metadata attributes of a collection.
Constructor and Description |
---|
Attributes(java.lang.String collection)
Instantiates a new
Attributes . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollection()
The name of the collection associated with this attribute.
|
long |
getCreatedTime()
The collection creation timestamp.
|
long |
getExpiryWait()
The sync lock expiration time in milliseconds.
|
long |
getLastModifiedTime()
The last modified timestamp.
|
long |
getLastSynced()
The last replication timestamp.
|
long |
getSyncLock()
The sync lock data of the collection.
|
java.lang.String |
getUuid()
The unique identifier of the collection.
|
void |
setCollection(java.lang.String collection)
The name of the collection associated with this attribute.
|
void |
setCreatedTime(long createdTime)
The collection creation timestamp.
|
void |
setExpiryWait(long expiryWait)
The sync lock expiration time in milliseconds.
|
void |
setLastModifiedTime(long lastModifiedTime)
The last modified timestamp.
|
void |
setLastSynced(long lastSynced)
The last replication timestamp.
|
void |
setSyncLock(long syncLock)
The sync lock data of the collection.
|
void |
setUuid(java.lang.String uuid)
The unique identifier of the collection.
|
public Attributes(java.lang.String collection)
Instantiates a new Attributes
.
@Generated(value="lombok") public long getCreatedTime()
The collection creation timestamp.
@Generated(value="lombok") public long getLastModifiedTime()
The last modified timestamp.
@Generated(value="lombok") public long getLastSynced()
The last replication timestamp.
@Generated(value="lombok") public long getSyncLock()
The sync lock data of the collection.
@Generated(value="lombok") public long getExpiryWait()
The sync lock expiration time in milliseconds.
@Generated(value="lombok") public java.lang.String getCollection()
The name of the collection associated with this attribute.
@Generated(value="lombok") public java.lang.String getUuid()
The unique identifier of the collection.
@Generated(value="lombok") public void setCreatedTime(long createdTime)
The collection creation timestamp.
createdTime
- collection creation timestamp@Generated(value="lombok") public void setLastModifiedTime(long lastModifiedTime)
The last modified timestamp.
createdTime
- last collection modification timestamp@Generated(value="lombok") public void setLastSynced(long lastSynced)
The last replication timestamp.
createdTime
- last replication timestamp@Generated(value="lombok") public void setSyncLock(long syncLock)
The sync lock data of the collection.
syncLock
- the sync lock data@Generated(value="lombok") public void setExpiryWait(long expiryWait)
The sync lock expiration time in milliseconds.
syncLock
- the sync lock expiration time in milliseconds@Generated(value="lombok") public void setCollection(java.lang.String collection)
The name of the collection associated with this attribute.
collection
- the name of the collection@Generated(value="lombok") public void setUuid(java.lang.String uuid)
The unique identifier of the collection.
uuid
- unique identifier of the collection