@Generated(value="software.amazon.awssdk:codegen") public class CreateMaintenanceWindowRequest extends SSMRequest implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<CreateMaintenanceWindowRequest.Builder,CreateMaintenanceWindowRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateMaintenanceWindowRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowUnassociatedTargets()
Enables a Maintenance Window task to execute on managed instances, even if you have not registered those
instances as targets.
|
static CreateMaintenanceWindowRequest.Builder |
builder() |
String |
clientToken()
User-provided idempotency token.
|
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 for the Maintenance Window.
|
Integer |
duration()
The duration of the Maintenance Window in hours.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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 CreateMaintenanceWindowRequest.Builder> |
serializableBuilderClass() |
CreateMaintenanceWindowRequest.Builder |
toBuilder() |
String |
toString() |
requestOverrideConfigpublic String name()
The name of the Maintenance Window.
public String description()
An optional description for the Maintenance Window. We recommend specifying a description to help you organize your Maintenance Windows.
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()
Enables a Maintenance Window task to execute on managed instances, even if you have not registered those instances as targets. If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the Maintenance Window
If you don't enable this option, then you must specify previously-registered targets when you register a task with the Maintenance Window.
If you don't enable this option, then you must specify previously-registered targets when you register a task with the Maintenance Window.
public String clientToken()
User-provided idempotency token.
public CreateMaintenanceWindowRequest.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<CreateMaintenanceWindowRequest.Builder,CreateMaintenanceWindowRequest>toBuilder in class SSMRequestpublic static CreateMaintenanceWindowRequest.Builder builder()
public static Class<? extends CreateMaintenanceWindowRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2018. All rights reserved.