public class ModifyGroupSnapshotRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ModifyGroupSnapshotRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ModifyGroupSnapshotRequest() |
ModifyGroupSnapshotRequest(java.lang.Long groupSnapshotID,
Optional<java.lang.String> expirationTime,
Optional<java.lang.Boolean> enableRemoteReplication) |
ModifyGroupSnapshotRequest(java.lang.Long groupSnapshotID,
Optional<java.lang.String> expirationTime,
Optional<java.lang.Boolean> enableRemoteReplication,
Optional<java.lang.String> snapMirrorLabel) |
Modifier and Type | Method and Description |
---|---|
ModifyGroupSnapshotRequest.Builder |
asBuilder() |
static ModifyGroupSnapshotRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Boolean> |
getEnableRemoteReplication()
Replicates the snapshot created to a remote cluster.
|
Optional<java.lang.String> |
getExpirationTime()
Specify the time after which the group snapshot can be removed.
|
java.lang.Long |
getGroupSnapshotID()
Specifies the ID of the group of snapshots.
|
Optional<java.lang.String> |
getSnapMirrorLabel()
Label used by SnapMirror software to specify snapshot retention policy on SnapMirror endpoint.
|
int |
hashCode() |
void |
setEnableRemoteReplication(Optional<java.lang.Boolean> enableRemoteReplication) |
void |
setExpirationTime(Optional<java.lang.String> expirationTime) |
void |
setGroupSnapshotID(java.lang.Long groupSnapshotID) |
void |
setSnapMirrorLabel(Optional<java.lang.String> snapMirrorLabel) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ModifyGroupSnapshotRequest(java.lang.Long groupSnapshotID, Optional<java.lang.String> expirationTime, Optional<java.lang.Boolean> enableRemoteReplication)
public java.lang.Long getGroupSnapshotID()
public void setGroupSnapshotID(java.lang.Long groupSnapshotID)
public Optional<java.lang.String> getExpirationTime()
public void setExpirationTime(Optional<java.lang.String> expirationTime)
public Optional<java.lang.Boolean> getEnableRemoteReplication()
public void setEnableRemoteReplication(Optional<java.lang.Boolean> enableRemoteReplication)
public Optional<java.lang.String> getSnapMirrorLabel()
public void setSnapMirrorLabel(Optional<java.lang.String> snapMirrorLabel)
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 ModifyGroupSnapshotRequest.Builder builder()
public final ModifyGroupSnapshotRequest.Builder asBuilder()