public class Schedule
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Schedule.Builder |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Schedule() |
Schedule(Optional<Boolean> toBeDeleted,
String name,
Optional<Boolean> runNextInterval,
Optional<Boolean> recurring,
ScheduleInfo scheduleInfo,
Optional<String> lastRunTimeStarted,
Optional<Boolean> paused,
Frequency frequency,
Optional<Boolean> hasError,
Optional<String> startingDate,
Optional<Long> scheduleID,
Optional<String> lastRunStatus) |
| Modifier and Type | Method and Description |
|---|---|
Schedule.Builder |
asBuilder() |
static Schedule.Builder |
builder() |
boolean |
equals(Object o) |
Frequency |
getFrequency()
Indicates the frequency of the schedule occurrence.
|
Optional<Boolean> |
getHasError()
Indicates whether or not the schedule has errors.
|
Optional<String> |
getLastRunStatus()
Indicates the status of the last scheduled snapshot.
|
Optional<String> |
getLastRunTimeStarted()
Indicates the last time the schedule started n ISO 8601 date string.
|
String |
getName()
Unique name assigned to the schedule.
|
Optional<Boolean> |
getPaused()
Indicates whether or not the schedule is paused.
|
Optional<Boolean> |
getRecurring()
Indicates whether or not the schedule is recurring.
|
Optional<Boolean> |
getRunNextInterval()
Indicates whether or not the schedule will run the next time the scheduler is active.
|
Optional<Long> |
getScheduleID()
Unique ID of the schedule
|
ScheduleInfo |
getScheduleInfo()
Includes the unique name given to the schedule, the retention period for the snapshot that was created, and the volume ID of the volume from which the snapshot was created.
|
Optional<String> |
getStartingDate()
Indicates the date the first time the schedule began of will begin.
|
Optional<Boolean> |
getToBeDeleted()
Indicates if the schedule is marked for deletion.
|
int |
hashCode() |
void |
setFrequency(Frequency frequency) |
void |
setHasError(Optional<Boolean> hasError) |
void |
setLastRunStatus(Optional<String> lastRunStatus) |
void |
setLastRunTimeStarted(Optional<String> lastRunTimeStarted) |
void |
setName(String name) |
void |
setPaused(Optional<Boolean> paused) |
void |
setRecurring(Optional<Boolean> recurring) |
void |
setRunNextInterval(Optional<Boolean> runNextInterval) |
void |
setScheduleID(Optional<Long> scheduleID) |
void |
setScheduleInfo(ScheduleInfo scheduleInfo) |
void |
setStartingDate(Optional<String> startingDate) |
void |
setToBeDeleted(Optional<Boolean> toBeDeleted) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public Schedule(Optional<Boolean> toBeDeleted, String name, Optional<Boolean> runNextInterval, Optional<Boolean> recurring, ScheduleInfo scheduleInfo, Optional<String> lastRunTimeStarted, Optional<Boolean> paused, Frequency frequency, Optional<Boolean> hasError, Optional<String> startingDate, Optional<Long> scheduleID, Optional<String> lastRunStatus)
public Optional<Boolean> getToBeDeleted()
public void setToBeDeleted(Optional<Boolean> toBeDeleted)
public String getName()
public void setName(String name)
public Optional<Boolean> getRunNextInterval()
public void setRunNextInterval(Optional<Boolean> runNextInterval)
public Optional<Boolean> getRecurring()
public void setRecurring(Optional<Boolean> recurring)
public ScheduleInfo getScheduleInfo()
public void setScheduleInfo(ScheduleInfo scheduleInfo)
public Optional<String> getLastRunTimeStarted()
public void setLastRunTimeStarted(Optional<String> lastRunTimeStarted)
public Optional<Boolean> getPaused()
public void setPaused(Optional<Boolean> paused)
public Frequency getFrequency()
public void setFrequency(Frequency frequency)
public Optional<Boolean> getHasError()
public void setHasError(Optional<Boolean> hasError)
public Optional<String> getStartingDate()
public void setStartingDate(Optional<String> startingDate)
public Optional<Long> getScheduleID()
public void setScheduleID(Optional<Long> scheduleID)
public Optional<String> getLastRunStatus()
public void setLastRunStatus(Optional<String> lastRunStatus)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Map<String,Object> toMap()
public String toString()
toString in class Objectpublic static Schedule.Builder builder()
public final Schedule.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.