public class ModifySnapshotRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ModifySnapshotRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ModifySnapshotRequest() |
ModifySnapshotRequest(java.lang.Long snapshotID,
Optional<java.lang.String> expirationTime,
Optional<java.lang.Boolean> enableRemoteReplication) |
ModifySnapshotRequest(java.lang.Long snapshotID,
Optional<java.lang.String> expirationTime,
Optional<java.lang.Boolean> enableRemoteReplication,
Optional<java.lang.String> snapMirrorLabel) |
Modifier and Type | Method and Description |
---|---|
ModifySnapshotRequest.Builder |
asBuilder() |
static ModifySnapshotRequest.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 snapshot can be removed.
|
Optional<java.lang.String> |
getSnapMirrorLabel()
Label used by SnapMirror software to specify snapshot retention policy on SnapMirror endpoint.
|
java.lang.Long |
getSnapshotID()
Specifies the ID of the snapshot.
|
int |
hashCode() |
void |
setEnableRemoteReplication(Optional<java.lang.Boolean> enableRemoteReplication) |
void |
setExpirationTime(Optional<java.lang.String> expirationTime) |
void |
setSnapMirrorLabel(Optional<java.lang.String> snapMirrorLabel) |
void |
setSnapshotID(java.lang.Long snapshotID) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ModifySnapshotRequest(java.lang.Long snapshotID, Optional<java.lang.String> expirationTime, Optional<java.lang.Boolean> enableRemoteReplication)
public java.lang.Long getSnapshotID()
public void setSnapshotID(java.lang.Long snapshotID)
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 ModifySnapshotRequest.Builder builder()
public final ModifySnapshotRequest.Builder asBuilder()