@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MaintenanceWindow extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
MaintenanceWindow() |
Modifier and Type | Method and Description |
---|---|
MaintenanceWindow |
clone() |
boolean |
equals(Object obj) |
Integer |
getDurationInMinutes()
Displays the duration of the next maintenance window.
|
String |
getStartTime()
Displays the start time of the next maintenance window.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDurationInMinutes(Integer durationInMinutes)
Displays the duration of the next maintenance window.
|
void |
setStartTime(String startTime)
Displays the start time of the next maintenance window.
|
String |
toString()
Returns a string representation of this object.
|
MaintenanceWindow |
withDurationInMinutes(Integer durationInMinutes)
Displays the duration of the next maintenance window.
|
MaintenanceWindow |
withStartTime(String startTime)
Displays the start time of the next maintenance window.
|
public void setStartTime(String startTime)
Displays the start time of the next maintenance window.
startTime
- Displays the start time of the next maintenance window.public String getStartTime()
Displays the start time of the next maintenance window.
public MaintenanceWindow withStartTime(String startTime)
Displays the start time of the next maintenance window.
startTime
- Displays the start time of the next maintenance window.public void setDurationInMinutes(Integer durationInMinutes)
Displays the duration of the next maintenance window.
durationInMinutes
- Displays the duration of the next maintenance window.public Integer getDurationInMinutes()
Displays the duration of the next maintenance window.
public MaintenanceWindow withDurationInMinutes(Integer durationInMinutes)
Displays the duration of the next maintenance window.
durationInMinutes
- Displays the duration of the next maintenance window.public String toString()
toString
in class Object
Object.toString()
public MaintenanceWindow clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.