@Generated(value="software.amazon.awssdk:codegen") public final class UpdateMaintenanceWindowResponse extends SsmResponse implements ToCopyableBuilder<UpdateMaintenanceWindowResponse.Builder,UpdateMaintenanceWindowResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateMaintenanceWindowResponse.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 UpdateMaintenanceWindowResponse.Builder |
builder() |
Integer |
cutoff()
The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for
execution.
|
String |
description()
An optional description of the update.
|
Integer |
duration()
The duration of the Maintenance Window in hours.
|
Boolean |
enabled()
Whether the Maintenance Window is enabled.
|
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() |
String |
name()
The name of the Maintenance Window.
|
String |
schedule()
The schedule of the Maintenance Window in the form of a cron or rate expression.
|
static Class<? extends UpdateMaintenanceWindowResponse.Builder> |
serializableBuilderClass() |
UpdateMaintenanceWindowResponse.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.
|
sdkHttpResponse
copy
public String windowId()
The ID of the created Maintenance Window.
public String name()
The name of the Maintenance Window.
public String description()
An optional description of the update.
public String schedule()
The schedule of the Maintenance Window in the form of a cron or rate expression.
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 Window is enabled.
public UpdateMaintenanceWindowResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateMaintenanceWindowResponse.Builder,UpdateMaintenanceWindowResponse>
toBuilder
in class AwsResponse
public static UpdateMaintenanceWindowResponse.Builder builder()
public static Class<? extends UpdateMaintenanceWindowResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse
fieldName
- 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.