public class ScheduleObject
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ScheduleObject.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ScheduleObject() |
ScheduleObject(java.lang.String scheduleName,
Optional<java.lang.Long[]> monthdays,
Optional<DayOfWeek[]> weekdays,
java.lang.Long hours,
java.lang.Long minutes,
java.lang.String scheduleType,
Attributes attributes,
Optional<java.lang.Boolean> hasError,
Optional<java.lang.String> lastRunStatus,
Optional<java.lang.String> lastRunTimeStarted,
Optional<java.lang.Boolean> paused,
Optional<java.lang.Boolean> recurring,
Optional<java.lang.Boolean> runNextInterval,
Optional<java.lang.Long> scheduleID,
ScheduleInfoObject scheduleInfo,
Optional<java.lang.String> startingDate,
Optional<java.lang.Boolean> toBeDeleted) |
ScheduleObject(java.lang.String scheduleName,
Optional<java.lang.Long[]> monthdays,
Optional<DayOfWeek[]> weekdays,
java.lang.Long hours,
java.lang.Long minutes,
java.lang.String scheduleType,
Attributes attributes,
Optional<java.lang.Boolean> hasError,
Optional<java.lang.String> lastRunStatus,
Optional<java.lang.String> lastRunTimeStarted,
Optional<java.lang.Boolean> paused,
Optional<java.lang.Boolean> recurring,
Optional<java.lang.Boolean> runNextInterval,
Optional<java.lang.Long> scheduleID,
ScheduleInfoObject scheduleInfo,
Optional<java.lang.String> startingDate,
Optional<java.lang.Boolean> toBeDeleted,
Optional<java.lang.String> snapMirrorLabel) |
Modifier and Type | Method and Description |
---|---|
ScheduleObject.Builder |
asBuilder() |
static ScheduleObject.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Attributes |
getAttributes() |
Optional<java.lang.Boolean> |
getHasError()
Indicates whether or not the schedule has errors.
|
java.lang.Long |
getHours() |
Optional<java.lang.String> |
getLastRunStatus()
Indicates the status of the last scheduled snapshot.
|
Optional<java.lang.String> |
getLastRunTimeStarted()
Indicates the last time the schedule started n ISO 8601 date string.
|
java.lang.Long |
getMinutes() |
Optional<java.lang.Long[]> |
getMonthdays() |
Optional<java.lang.Boolean> |
getPaused()
Indicates whether or not the schedule is paused.
|
Optional<java.lang.Boolean> |
getRecurring()
Indicates whether or not the schedule is recurring.
|
Optional<java.lang.Boolean> |
getRunNextInterval()
Indicates whether or not the schedule will run the next time the scheduler is active.
|
Optional<java.lang.Long> |
getScheduleID()
Unique ID of the schedule
|
ScheduleInfoObject |
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.
|
java.lang.String |
getScheduleName() |
java.lang.String |
getScheduleType() |
Optional<java.lang.String> |
getSnapMirrorLabel()
The snapMirrorLabel to be applied to the created Snapshot or Group Snapshot, contained in the scheduleInfo.
|
Optional<java.lang.String> |
getStartingDate()
Indicates the date the first time the schedule began of will begin.
|
Optional<java.lang.Boolean> |
getToBeDeleted()
Indicates if the schedule is marked for deletion.
|
Optional<DayOfWeek[]> |
getWeekdays() |
int |
hashCode() |
void |
setAttributes(Attributes attributes) |
void |
setHasError(Optional<java.lang.Boolean> hasError) |
void |
setHours(java.lang.Long hours) |
void |
setLastRunStatus(Optional<java.lang.String> lastRunStatus) |
void |
setLastRunTimeStarted(Optional<java.lang.String> lastRunTimeStarted) |
void |
setMinutes(java.lang.Long minutes) |
void |
setMonthdays(Optional<java.lang.Long[]> monthdays) |
void |
setPaused(Optional<java.lang.Boolean> paused) |
void |
setRecurring(Optional<java.lang.Boolean> recurring) |
void |
setRunNextInterval(Optional<java.lang.Boolean> runNextInterval) |
void |
setScheduleID(Optional<java.lang.Long> scheduleID) |
void |
setScheduleInfo(ScheduleInfoObject scheduleInfo) |
void |
setScheduleName(java.lang.String scheduleName) |
void |
setScheduleType(java.lang.String scheduleType) |
void |
setSnapMirrorLabel(Optional<java.lang.String> snapMirrorLabel) |
void |
setStartingDate(Optional<java.lang.String> startingDate) |
void |
setToBeDeleted(Optional<java.lang.Boolean> toBeDeleted) |
void |
setWeekdays(Optional<DayOfWeek[]> weekdays) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ScheduleObject(java.lang.String scheduleName, Optional<java.lang.Long[]> monthdays, Optional<DayOfWeek[]> weekdays, java.lang.Long hours, java.lang.Long minutes, java.lang.String scheduleType, Attributes attributes, Optional<java.lang.Boolean> hasError, Optional<java.lang.String> lastRunStatus, Optional<java.lang.String> lastRunTimeStarted, Optional<java.lang.Boolean> paused, Optional<java.lang.Boolean> recurring, Optional<java.lang.Boolean> runNextInterval, Optional<java.lang.Long> scheduleID, ScheduleInfoObject scheduleInfo, Optional<java.lang.String> startingDate, Optional<java.lang.Boolean> toBeDeleted)
@Since(value="10.0") public ScheduleObject(java.lang.String scheduleName, Optional<java.lang.Long[]> monthdays, Optional<DayOfWeek[]> weekdays, java.lang.Long hours, java.lang.Long minutes, java.lang.String scheduleType, Attributes attributes, Optional<java.lang.Boolean> hasError, Optional<java.lang.String> lastRunStatus, Optional<java.lang.String> lastRunTimeStarted, Optional<java.lang.Boolean> paused, Optional<java.lang.Boolean> recurring, Optional<java.lang.Boolean> runNextInterval, Optional<java.lang.Long> scheduleID, ScheduleInfoObject scheduleInfo, Optional<java.lang.String> startingDate, Optional<java.lang.Boolean> toBeDeleted, Optional<java.lang.String> snapMirrorLabel)
public java.lang.String getScheduleName()
public void setScheduleName(java.lang.String scheduleName)
public Optional<java.lang.Long[]> getMonthdays()
public void setMonthdays(Optional<java.lang.Long[]> monthdays)
public java.lang.Long getHours()
public void setHours(java.lang.Long hours)
public java.lang.Long getMinutes()
public void setMinutes(java.lang.Long minutes)
public java.lang.String getScheduleType()
public void setScheduleType(java.lang.String scheduleType)
public Attributes getAttributes()
public void setAttributes(Attributes attributes)
public Optional<java.lang.Boolean> getHasError()
public void setHasError(Optional<java.lang.Boolean> hasError)
public Optional<java.lang.String> getLastRunStatus()
public void setLastRunStatus(Optional<java.lang.String> lastRunStatus)
public Optional<java.lang.String> getLastRunTimeStarted()
public void setLastRunTimeStarted(Optional<java.lang.String> lastRunTimeStarted)
public Optional<java.lang.Boolean> getPaused()
public void setPaused(Optional<java.lang.Boolean> paused)
public Optional<java.lang.Boolean> getRecurring()
public void setRecurring(Optional<java.lang.Boolean> recurring)
public Optional<java.lang.Boolean> getRunNextInterval()
public void setRunNextInterval(Optional<java.lang.Boolean> runNextInterval)
public Optional<java.lang.Long> getScheduleID()
public void setScheduleID(Optional<java.lang.Long> scheduleID)
public ScheduleInfoObject getScheduleInfo()
public void setScheduleInfo(ScheduleInfoObject scheduleInfo)
public Optional<java.lang.String> getStartingDate()
public void setStartingDate(Optional<java.lang.String> startingDate)
public Optional<java.lang.Boolean> getToBeDeleted()
public void setToBeDeleted(Optional<java.lang.Boolean> toBeDeleted)
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 ScheduleObject.Builder builder()
public final ScheduleObject.Builder asBuilder()