public class ApiScheduleInfo
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiScheduleInfo.Builder |
| Constructor and Description |
|---|
ApiScheduleInfo(Optional<java.lang.Long> volumeID,
Optional<java.lang.Long[]> volumes,
Optional<java.lang.String> name,
Optional<java.lang.Boolean> enableRemoteReplication,
Optional<java.lang.String> retention) |
| Modifier and Type | Method and Description |
|---|---|
ApiScheduleInfo.Builder |
asBuilder() |
static ApiScheduleInfo.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Boolean> |
getEnableRemoteReplication()
Indicates if the snapshot should be included in remote replication.
|
Optional<java.lang.String> |
getName()
The snapshot name to be used.
|
Optional<java.lang.String> |
getRetention()
The amount of time the snapshot will be retained in HH:mm:ss.
|
Optional<java.lang.Long> |
getVolumeID()
The ID of the volume to be included in the snapshot.
|
Optional<java.lang.Long[]> |
getVolumes()
A list of volume IDs to be included in the group snapshot.
|
int |
hashCode() |
java.lang.String |
toString() |
@Since(value="7.0") public ApiScheduleInfo(Optional<java.lang.Long> volumeID, Optional<java.lang.Long[]> volumes, Optional<java.lang.String> name, Optional<java.lang.Boolean> enableRemoteReplication, Optional<java.lang.String> retention)
volumeID - (optional) The ID of the volume to be included in the snapshot.volumes - (optional) A list of volume IDs to be included in the group snapshot.name - (optional) The snapshot name to be used.enableRemoteReplication - (optional) Indicates if the snapshot should be included in remote replication.retention - (optional) The amount of time the snapshot will be retained in HH:mm:ss.public Optional<java.lang.Long> getVolumeID()
public Optional<java.lang.Long[]> getVolumes()
public Optional<java.lang.String> getName()
public Optional<java.lang.Boolean> getEnableRemoteReplication()
public Optional<java.lang.String> getRetention()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static ApiScheduleInfo.Builder builder()
public final ApiScheduleInfo.Builder asBuilder()