Interface Schedule.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Schedule
@ApiService("SoftLayer_Network_Storage_Schedule") public static interface Schedule.Service extends Service
Schedules can be created for select Storage services, such as iscsi. These schedules are used to perform various tasks such as scheduling snapshots or synchronizing replicants.
The schedule service can be used to create, edit, or delete a schedule. Schedules are defined by the properties associated with them to specify values such as the start date, interval, or end date of the schedule.
The schedule service can be used to create, edit, or delete a schedule. Schedules are defined by the properties associated with them to specify values such as the start date, interval, or end date of the schedule.
- See Also:
- SoftLayer_Network_Storage_Schedule
-
Method Summary
Modifier and Type Method Description Schedule.ServiceAsync
asAsync()
Get an async version of this serviceSchedule
createObject(Schedule templateObject)
Create a nas volume scheduleBoolean
deleteObject()
Delete a network storage schedule.Boolean
editObject(Schedule templateObject)
Edit a nas volume scheduleString
getDay()
The hour parameter of this schedule.String
getDayOfMonth()
The day of the month parameter of this schedule.String
getDayOfWeek()
The day of the week parameter of this schedule.List<Event>
getEvents()
Events which have been created as the result of a schedule execution.String
getHour()
The hour parameter of this schedule.String
getMinute()
The minute parameter of this schedule.String
getMonthOfYear()
The month of the year parameter of this schedule.Schedule
getObject()
Partnership
getPartnership()
The associated partnership for a schedule.List<Property>
getProperties()
Properties used for configuration of a schedule.List<Storage>
getReplicaSnapshots()
Replica snapshots which have been created as the result of this schedule's execution.String
getRetentionCount()
The number of snapshots this schedule is configured to retain.String
getSecond()
The minute parameter of this schedule.List<Storage>
getSnapshots()
Snapshots which have been created as the result of this schedule's execution.Type
getType()
The type provides a standardized definition for a schedule.Storage
getVolume()
The associated volume for a schedule.void
setMask(Schedule.Mask mask)
Schedule.Mask
withMask()
Use the existing mask on this service or create it if not presentSchedule.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Schedule.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Schedule.Mask withNewMask()Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Schedule.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
createObject
Create a nas volume schedule -
deleteObject
Delete a network storage schedule. '''This cannot be undone.''' ''deleteObject'' returns Boolean ''true'' on successful deletion or ''false'' if it was unable to remove a schedule; -
editObject
Edit a nas volume schedule -
getObject
-
getDay
The hour parameter of this schedule. -
getDayOfMonth
The day of the month parameter of this schedule. -
getDayOfWeek
The day of the week parameter of this schedule. -
getEvents
Events which have been created as the result of a schedule execution. -
getHour
The hour parameter of this schedule. -
getMinute
The minute parameter of this schedule. -
getMonthOfYear
The month of the year parameter of this schedule. -
getPartnership
The associated partnership for a schedule. -
getProperties
Properties used for configuration of a schedule. -
getReplicaSnapshots
Replica snapshots which have been created as the result of this schedule's execution. -
getRetentionCount
The number of snapshots this schedule is configured to retain. -
getSecond
The minute parameter of this schedule. -
getSnapshots
Snapshots which have been created as the result of this schedule's execution. -
getType
The type provides a standardized definition for a schedule. -
getVolume
The associated volume for a schedule.
-