@Generated(value="software.amazon.awssdk:codegen") public final class GetMaintenanceWindowResponse extends SsmResponse implements ToCopyableBuilder<GetMaintenanceWindowResponse.Builder,GetMaintenanceWindowResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetMaintenanceWindowResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowUnassociatedTargets()
Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
|
static GetMaintenanceWindowResponse.Builder |
builder() |
Instant |
createdDate()
The date the Maintenance Window was created.
|
Integer |
cutoff()
The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for
execution.
|
String |
description()
The description of the Maintenance Window.
|
Integer |
duration()
The duration of the Maintenance Window in hours.
|
Boolean |
enabled()
Whether the Maintenance Windows is enabled.
|
String |
endDate()
The date and time, in ISO-8601 Extended format, for when the Maintenance Window is scheduled to become inactive.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse. |
int |
hashCode() |
Instant |
modifiedDate()
The date the Maintenance Window was last modified.
|
String |
name()
The name of the Maintenance Window.
|
String |
nextExecutionTime()
The next time the Maintenance Window will actually run, taking into account any specified times for the
Maintenance Window to become active or inactive.
|
String |
schedule()
The schedule of the Maintenance Window in the form of a cron or rate expression.
|
String |
scheduleTimezone()
The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetMaintenanceWindowResponse.Builder> |
serializableBuilderClass() |
String |
startDate()
The date and time, in ISO-8601 Extended format, for when the Maintenance Window is scheduled to become active.
|
GetMaintenanceWindowResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
windowId()
The ID of the created Maintenance Window.
|
responseMetadatasdkHttpResponsecopypublic String windowId()
The ID of the created Maintenance Window.
public String name()
The name of the Maintenance Window.
public String description()
The description of the Maintenance Window.
public String startDate()
The date and time, in ISO-8601 Extended format, for when the Maintenance Window is scheduled to become active. The Maintenance Window will not run before this specified time.
public String endDate()
The date and time, in ISO-8601 Extended format, for when the Maintenance Window is scheduled to become inactive. The Maintenance Window will not run after this specified time.
public String schedule()
The schedule of the Maintenance Window in the form of a cron or rate expression.
public String scheduleTimezone()
The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "etc/UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
public String nextExecutionTime()
The next time the Maintenance Window will actually run, taking into account any specified times for the Maintenance Window to become active or inactive.
public Integer duration()
The duration of the Maintenance Window in hours.
public Integer cutoff()
The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
public Boolean allowUnassociatedTargets()
Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
public Boolean enabled()
Whether the Maintenance Windows is enabled.
public Instant createdDate()
The date the Maintenance Window was created.
public Instant modifiedDate()
The date the Maintenance Window was last modified.
public GetMaintenanceWindowResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GetMaintenanceWindowResponse.Builder,GetMaintenanceWindowResponse>toBuilder in class AwsResponsepublic static GetMaintenanceWindowResponse.Builder builder()
public static Class<? extends GetMaintenanceWindowResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponseSdkResponse. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class) method will
again be available.getValueForField in class SdkResponsefieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.