public class ReplicationTime extends Object implements Serializable
Metrics
block.Constructor and Description |
---|
ReplicationTime() |
Modifier and Type | Method and Description |
---|---|
String |
getStatus()
Return whether the replication time is enabled.
|
ReplicationTimeValue |
getTime()
Return a container specifying the time by which replication should complete for all objects and operations on
objects.
|
void |
setStatus(ReplicationTimeStatus status)
Set whether the replication time is enabled.
|
void |
setStatus(String status)
Set whether the replication time is enabled.
|
void |
setTime(ReplicationTimeValue time)
Set a container specifying the time by which replication should complete for all objects and operations on
objects.
|
ReplicationTime |
withStatus(ReplicationTimeStatus status)
Set whether the replication time is enabled.
|
ReplicationTime |
withStatus(String status)
Set whether the replication time is enabled.
|
ReplicationTime |
withTime(ReplicationTimeValue time)
Set a container specifying the time by which replication should complete for all objects and operations on
objects.
|
public String getStatus()
public ReplicationTime withStatus(ReplicationTimeStatus status)
status
- The status.public ReplicationTime withStatus(String status)
status
- The status.public void setStatus(ReplicationTimeStatus status)
status
- The status.public void setStatus(String status)
status
- The status.public ReplicationTimeValue getTime()
public ReplicationTime withTime(ReplicationTimeValue time)
time
- The time.public void setTime(ReplicationTimeValue time)
time
- The time.Copyright © 2021. All rights reserved.