public class GroupSnapshot
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GroupSnapshot.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
GroupSnapshot() |
GroupSnapshot(java.lang.Long groupSnapshotID,
java.util.UUID groupSnapshotUUID,
Snapshot[] members,
java.lang.String name,
java.lang.String createTime,
java.lang.String status,
java.lang.Boolean enableRemoteReplication,
Optional<GroupSnapshotRemoteStatus[]> remoteStatuses,
Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
GroupSnapshot.Builder |
asBuilder() |
static GroupSnapshot.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Attributes |
getAttributes()
List of Name/Value pairs in JSON object format.
|
java.lang.String |
getCreateTime()
The UTC formatted day and time on which the snapshot was created.
|
java.lang.Boolean |
getEnableRemoteReplication()
Identifies if group snapshot is enabled for remote replication.
|
java.lang.Long |
getGroupSnapshotID()
Unique ID of the new group snapshot.
|
java.util.UUID |
getGroupSnapshotUUID()
UUID of the group snapshot.
|
Snapshot[] |
getMembers()
List of snapshots that are members of the group.
|
java.lang.String |
getName()
Name of the group snapshot, or, if none was given, the UTC formatted day and time on which the snapshot was created.
|
Optional<GroupSnapshotRemoteStatus[]> |
getRemoteStatuses()
Replication status of the group snapshot as seen on the source cluster.
|
java.lang.String |
getStatus()
Status of the snapshot.
|
int |
hashCode() |
void |
setAttributes(Attributes attributes) |
void |
setCreateTime(java.lang.String createTime) |
void |
setEnableRemoteReplication(java.lang.Boolean enableRemoteReplication) |
void |
setGroupSnapshotID(java.lang.Long groupSnapshotID) |
void |
setGroupSnapshotUUID(java.util.UUID groupSnapshotUUID) |
void |
setMembers(Snapshot[] members) |
void |
setName(java.lang.String name) |
void |
setRemoteStatuses(Optional<GroupSnapshotRemoteStatus[]> remoteStatuses) |
void |
setStatus(java.lang.String status) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public GroupSnapshot(java.lang.Long groupSnapshotID, java.util.UUID groupSnapshotUUID, Snapshot[] members, java.lang.String name, java.lang.String createTime, java.lang.String status, java.lang.Boolean enableRemoteReplication, Optional<GroupSnapshotRemoteStatus[]> remoteStatuses, Attributes attributes)
public java.lang.Long getGroupSnapshotID()
public void setGroupSnapshotID(java.lang.Long groupSnapshotID)
public java.util.UUID getGroupSnapshotUUID()
public void setGroupSnapshotUUID(java.util.UUID groupSnapshotUUID)
public Snapshot[] getMembers()
public void setMembers(Snapshot[] members)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getCreateTime()
public void setCreateTime(java.lang.String createTime)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public java.lang.Boolean getEnableRemoteReplication()
public void setEnableRemoteReplication(java.lang.Boolean enableRemoteReplication)
public Optional<GroupSnapshotRemoteStatus[]> getRemoteStatuses()
public void setRemoteStatuses(Optional<GroupSnapshotRemoteStatus[]> remoteStatuses)
public Attributes getAttributes()
public void setAttributes(Attributes attributes)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static GroupSnapshot.Builder builder()
public final GroupSnapshot.Builder asBuilder()