public class CreateGroupSnapshotRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CreateGroupSnapshotRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
CreateGroupSnapshotRequest() |
CreateGroupSnapshotRequest(java.lang.Long[] volumes,
Optional<java.lang.String> name,
Optional<java.lang.Boolean> enableRemoteReplication,
Optional<java.lang.String> expirationTime,
Optional<java.lang.String> retention,
Optional<Attributes> attributes) |
CreateGroupSnapshotRequest(java.lang.Long[] volumes,
Optional<java.lang.String> name,
Optional<java.lang.Boolean> enableRemoteReplication,
Optional<java.lang.String> expirationTime,
Optional<java.lang.String> retention,
Optional<Attributes> attributes,
Optional<java.lang.String> snapMirrorLabel) |
CreateGroupSnapshotRequest(java.lang.Long[] volumes,
Optional<java.lang.String> name,
Optional<java.lang.Boolean> enableRemoteReplication,
Optional<java.lang.String> expirationTime,
Optional<java.lang.String> retention,
Optional<Attributes> attributes,
Optional<java.lang.String> snapMirrorLabel,
Optional<java.lang.Boolean> ensureSerialCreation) |
CreateGroupSnapshotRequest(java.lang.Long[] volumes,
Optional<java.lang.String> name,
Optional<java.lang.String> expirationTime,
Optional<Attributes> attributes) |
Modifier and Type | Method and Description |
---|---|
CreateGroupSnapshotRequest.Builder |
asBuilder() |
static CreateGroupSnapshotRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<Attributes> |
getAttributes()
List of name-value pairs in JSON object format.
|
Optional<java.lang.Boolean> |
getEnableRemoteReplication()
Replicates the snapshot created to remote storage.
|
Optional<java.lang.Boolean> |
getEnsureSerialCreation()
Specify if the snapshot creation should be failed if a previous snapshot replication is in progress.
|
Optional<java.lang.String> |
getExpirationTime()
Specify the time after which the snapshot can be removed.
|
Optional<java.lang.String> |
getName()
Name for the group snapshot.
|
Optional<java.lang.String> |
getRetention()
This operates the same as the expirationTime option, except the time format is HH:MM:SS.
|
Optional<java.lang.String> |
getSnapMirrorLabel()
Label used by SnapMirror software to specify snapshot retention policy on SnapMirror endpoint.
|
java.lang.Long[] |
getVolumes()
Unique ID of the volume image from which to copy.
|
int |
hashCode() |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setEnableRemoteReplication(Optional<java.lang.Boolean> enableRemoteReplication) |
void |
setEnsureSerialCreation(Optional<java.lang.Boolean> ensureSerialCreation) |
void |
setExpirationTime(Optional<java.lang.String> expirationTime) |
void |
setName(Optional<java.lang.String> name) |
void |
setRetention(Optional<java.lang.String> retention) |
void |
setSnapMirrorLabel(Optional<java.lang.String> snapMirrorLabel) |
void |
setVolumes(java.lang.Long[] volumes) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public CreateGroupSnapshotRequest(java.lang.Long[] volumes, Optional<java.lang.String> name, Optional<java.lang.String> expirationTime, Optional<Attributes> attributes)
@Since(value="8.0") public CreateGroupSnapshotRequest(java.lang.Long[] volumes, Optional<java.lang.String> name, Optional<java.lang.Boolean> enableRemoteReplication, Optional<java.lang.String> expirationTime, Optional<java.lang.String> retention, Optional<Attributes> attributes)
@Since(value="10.0") public CreateGroupSnapshotRequest(java.lang.Long[] volumes, Optional<java.lang.String> name, Optional<java.lang.Boolean> enableRemoteReplication, Optional<java.lang.String> expirationTime, Optional<java.lang.String> retention, Optional<Attributes> attributes, Optional<java.lang.String> snapMirrorLabel)
@Since(value="12.0") public CreateGroupSnapshotRequest(java.lang.Long[] volumes, Optional<java.lang.String> name, Optional<java.lang.Boolean> enableRemoteReplication, Optional<java.lang.String> expirationTime, Optional<java.lang.String> retention, Optional<Attributes> attributes, Optional<java.lang.String> snapMirrorLabel, Optional<java.lang.Boolean> ensureSerialCreation)
public java.lang.Long[] getVolumes()
public void setVolumes(java.lang.Long[] volumes)
public Optional<java.lang.String> getName()
public void setName(Optional<java.lang.String> name)
public Optional<java.lang.Boolean> getEnableRemoteReplication()
public void setEnableRemoteReplication(Optional<java.lang.Boolean> enableRemoteReplication)
public Optional<java.lang.String> getExpirationTime()
public void setExpirationTime(Optional<java.lang.String> expirationTime)
public Optional<java.lang.String> getRetention()
public void setRetention(Optional<java.lang.String> retention)
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public Optional<java.lang.String> getSnapMirrorLabel()
public void setSnapMirrorLabel(Optional<java.lang.String> snapMirrorLabel)
public Optional<java.lang.Boolean> getEnsureSerialCreation()
public void setEnsureSerialCreation(Optional<java.lang.Boolean> ensureSerialCreation)
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 CreateGroupSnapshotRequest.Builder builder()
public final CreateGroupSnapshotRequest.Builder asBuilder()