@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SchedulingConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group. Additionally, you can specify the end behavior for each job execution when it reaches the scheduled end time.
| Constructor and Description |
|---|
SchedulingConfig() |
| Modifier and Type | Method and Description |
|---|---|
SchedulingConfig |
clone() |
boolean |
equals(Object obj) |
String |
getEndBehavior()
Specifies the end behavior for all job executions after a job reaches the selected
endTime. |
String |
getEndTime()
The time a job will stop rollout of the job document to all devices in the target group for a job.
|
List<MaintenanceWindow> |
getMaintenanceWindows()
An optional configuration within the
SchedulingConfig to setup a recurring maintenance window with a
predetermined start time and duration for the rollout of a job document to all devices in a target group for a
job. |
String |
getStartTime()
The time a job will begin rollout of the job document to all devices in the target group for a job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEndBehavior(String endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected
endTime. |
void |
setEndTime(String endTime)
The time a job will stop rollout of the job document to all devices in the target group for a job.
|
void |
setMaintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows)
An optional configuration within the
SchedulingConfig to setup a recurring maintenance window with a
predetermined start time and duration for the rollout of a job document to all devices in a target group for a
job. |
void |
setStartTime(String startTime)
The time a job will begin rollout of the job document to all devices in the target group for a job.
|
String |
toString()
Returns a string representation of this object.
|
SchedulingConfig |
withEndBehavior(JobEndBehavior endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected
endTime. |
SchedulingConfig |
withEndBehavior(String endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected
endTime. |
SchedulingConfig |
withEndTime(String endTime)
The time a job will stop rollout of the job document to all devices in the target group for a job.
|
SchedulingConfig |
withMaintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows)
An optional configuration within the
SchedulingConfig to setup a recurring maintenance window with a
predetermined start time and duration for the rollout of a job document to all devices in a target group for a
job. |
SchedulingConfig |
withMaintenanceWindows(MaintenanceWindow... maintenanceWindows)
An optional configuration within the
SchedulingConfig to setup a recurring maintenance window with a
predetermined start time and duration for the rollout of a job document to all devices in a target group for a
job. |
SchedulingConfig |
withStartTime(String startTime)
The time a job will begin rollout of the job document to all devices in the target group for a job.
|
public void setStartTime(String startTime)
The time a job will begin rollout of the job document to all devices in the target group for a job. The
startTime can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes
from the current time. The date and time format for the startTime is YYYY-MM-DD for the date and
HH:MM for the time.
For more information on the syntax for startTime when using an API command or the Command Line
Interface, see Timestamp.
startTime - The time a job will begin rollout of the job document to all devices in the target group for a job. The
startTime can be scheduled up to a year in advance and must be scheduled a minimum of thirty
minutes from the current time. The date and time format for the startTime is YYYY-MM-DD for
the date and HH:MM for the time.
For more information on the syntax for startTime when using an API command or the Command
Line Interface, see Timestamp.
public String getStartTime()
The time a job will begin rollout of the job document to all devices in the target group for a job. The
startTime can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes
from the current time. The date and time format for the startTime is YYYY-MM-DD for the date and
HH:MM for the time.
For more information on the syntax for startTime when using an API command or the Command Line
Interface, see Timestamp.
startTime can be scheduled up to a year in advance and must be scheduled a minimum of thirty
minutes from the current time. The date and time format for the startTime is YYYY-MM-DD for
the date and HH:MM for the time.
For more information on the syntax for startTime when using an API command or the Command
Line Interface, see Timestamp.
public SchedulingConfig withStartTime(String startTime)
The time a job will begin rollout of the job document to all devices in the target group for a job. The
startTime can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes
from the current time. The date and time format for the startTime is YYYY-MM-DD for the date and
HH:MM for the time.
For more information on the syntax for startTime when using an API command or the Command Line
Interface, see Timestamp.
startTime - The time a job will begin rollout of the job document to all devices in the target group for a job. The
startTime can be scheduled up to a year in advance and must be scheduled a minimum of thirty
minutes from the current time. The date and time format for the startTime is YYYY-MM-DD for
the date and HH:MM for the time.
For more information on the syntax for startTime when using an API command or the Command
Line Interface, see Timestamp.
public void setEndTime(String endTime)
The time a job will stop rollout of the job document to all devices in the target group for a job. The
endTime must take place no later than two years from the current time and be scheduled a minimum of
thirty minutes from the current time. The minimum duration between startTime and
endTime is thirty minutes. The maximum duration between startTime and
endTime is two years. The date and time format for the endTime is YYYY-MM-DD for the
date and HH:MM for the time.
For more information on the syntax for endTime when using an API command or the Command Line
Interface, see Timestamp.
endTime - The time a job will stop rollout of the job document to all devices in the target group for a job. The
endTime must take place no later than two years from the current time and be scheduled a
minimum of thirty minutes from the current time. The minimum duration between startTime and
endTime is thirty minutes. The maximum duration between startTime and
endTime is two years. The date and time format for the endTime is YYYY-MM-DD for
the date and HH:MM for the time.
For more information on the syntax for endTime when using an API command or the Command Line
Interface, see Timestamp.
public String getEndTime()
The time a job will stop rollout of the job document to all devices in the target group for a job. The
endTime must take place no later than two years from the current time and be scheduled a minimum of
thirty minutes from the current time. The minimum duration between startTime and
endTime is thirty minutes. The maximum duration between startTime and
endTime is two years. The date and time format for the endTime is YYYY-MM-DD for the
date and HH:MM for the time.
For more information on the syntax for endTime when using an API command or the Command Line
Interface, see Timestamp.
endTime must take place no later than two years from the current time and be scheduled a
minimum of thirty minutes from the current time. The minimum duration between startTime and
endTime is thirty minutes. The maximum duration between startTime and
endTime is two years. The date and time format for the endTime is YYYY-MM-DD
for the date and HH:MM for the time.
For more information on the syntax for endTime when using an API command or the Command Line
Interface, see Timestamp.
public SchedulingConfig withEndTime(String endTime)
The time a job will stop rollout of the job document to all devices in the target group for a job. The
endTime must take place no later than two years from the current time and be scheduled a minimum of
thirty minutes from the current time. The minimum duration between startTime and
endTime is thirty minutes. The maximum duration between startTime and
endTime is two years. The date and time format for the endTime is YYYY-MM-DD for the
date and HH:MM for the time.
For more information on the syntax for endTime when using an API command or the Command Line
Interface, see Timestamp.
endTime - The time a job will stop rollout of the job document to all devices in the target group for a job. The
endTime must take place no later than two years from the current time and be scheduled a
minimum of thirty minutes from the current time. The minimum duration between startTime and
endTime is thirty minutes. The maximum duration between startTime and
endTime is two years. The date and time format for the endTime is YYYY-MM-DD for
the date and HH:MM for the time.
For more information on the syntax for endTime when using an API command or the Command Line
Interface, see Timestamp.
public void setEndBehavior(String endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected endTime. If
endTime is not selected when creating the job, then endBehavior does not apply.
endBehavior - Specifies the end behavior for all job executions after a job reaches the selected endTime.
If endTime is not selected when creating the job, then endBehavior does not
apply.JobEndBehaviorpublic String getEndBehavior()
Specifies the end behavior for all job executions after a job reaches the selected endTime. If
endTime is not selected when creating the job, then endBehavior does not apply.
endTime.
If endTime is not selected when creating the job, then endBehavior does not
apply.JobEndBehaviorpublic SchedulingConfig withEndBehavior(String endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected endTime. If
endTime is not selected when creating the job, then endBehavior does not apply.
endBehavior - Specifies the end behavior for all job executions after a job reaches the selected endTime.
If endTime is not selected when creating the job, then endBehavior does not
apply.JobEndBehaviorpublic SchedulingConfig withEndBehavior(JobEndBehavior endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected endTime. If
endTime is not selected when creating the job, then endBehavior does not apply.
endBehavior - Specifies the end behavior for all job executions after a job reaches the selected endTime.
If endTime is not selected when creating the job, then endBehavior does not
apply.JobEndBehaviorpublic List<MaintenanceWindow> getMaintenanceWindows()
An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a
predetermined start time and duration for the rollout of a job document to all devices in a target group for a
job.
SchedulingConfig to setup a recurring maintenance
window with a predetermined start time and duration for the rollout of a job document to all devices in a
target group for a job.public void setMaintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows)
An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a
predetermined start time and duration for the rollout of a job document to all devices in a target group for a
job.
maintenanceWindows - An optional configuration within the SchedulingConfig to setup a recurring maintenance window
with a predetermined start time and duration for the rollout of a job document to all devices in a target
group for a job.public SchedulingConfig withMaintenanceWindows(MaintenanceWindow... maintenanceWindows)
An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a
predetermined start time and duration for the rollout of a job document to all devices in a target group for a
job.
NOTE: This method appends the values to the existing list (if any). Use
setMaintenanceWindows(java.util.Collection) or withMaintenanceWindows(java.util.Collection) if
you want to override the existing values.
maintenanceWindows - An optional configuration within the SchedulingConfig to setup a recurring maintenance window
with a predetermined start time and duration for the rollout of a job document to all devices in a target
group for a job.public SchedulingConfig withMaintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows)
An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a
predetermined start time and duration for the rollout of a job document to all devices in a target group for a
job.
maintenanceWindows - An optional configuration within the SchedulingConfig to setup a recurring maintenance window
with a predetermined start time and duration for the rollout of a job document to all devices in a target
group for a job.public String toString()
toString in class ObjectObject.toString()public SchedulingConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.