public static interface UpdateMaintenanceWindowTargetRequest.Builder extends SsmRequest.Builder, CopyableBuilder<UpdateMaintenanceWindowTargetRequest.Builder,UpdateMaintenanceWindowTargetRequest>
Modifier and Type | Method and Description |
---|---|
UpdateMaintenanceWindowTargetRequest.Builder |
description(String description)
An optional description for the update.
|
UpdateMaintenanceWindowTargetRequest.Builder |
name(String name)
A name for the update.
|
UpdateMaintenanceWindowTargetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateMaintenanceWindowTargetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateMaintenanceWindowTargetRequest.Builder |
ownerInformation(String ownerInformation)
User-provided value that will be included in any CloudWatch events raised while running tasks for these
targets in this Maintenance Window.
|
UpdateMaintenanceWindowTargetRequest.Builder |
replace(Boolean replace)
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also
required for this API request.
|
UpdateMaintenanceWindowTargetRequest.Builder |
targets(Collection<Target> targets)
The targets to add or replace.
|
UpdateMaintenanceWindowTargetRequest.Builder |
targets(Consumer<Target.Builder>... targets)
The targets to add or replace.
|
UpdateMaintenanceWindowTargetRequest.Builder |
targets(Target... targets)
The targets to add or replace.
|
UpdateMaintenanceWindowTargetRequest.Builder |
windowId(String windowId)
The Maintenance Window ID with which to modify the target.
|
UpdateMaintenanceWindowTargetRequest.Builder |
windowTargetId(String windowTargetId)
The target ID to modify.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateMaintenanceWindowTargetRequest.Builder windowId(String windowId)
The Maintenance Window ID with which to modify the target.
windowId
- The Maintenance Window ID with which to modify the target.UpdateMaintenanceWindowTargetRequest.Builder windowTargetId(String windowTargetId)
The target ID to modify.
windowTargetId
- The target ID to modify.UpdateMaintenanceWindowTargetRequest.Builder targets(Collection<Target> targets)
The targets to add or replace.
targets
- The targets to add or replace.UpdateMaintenanceWindowTargetRequest.Builder targets(Target... targets)
The targets to add or replace.
targets
- The targets to add or replace.UpdateMaintenanceWindowTargetRequest.Builder targets(Consumer<Target.Builder>... targets)
The targets to add or replace.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #targets(List)
.targets
- a consumer that will call methods on List.Builder
#targets(List)
UpdateMaintenanceWindowTargetRequest.Builder ownerInformation(String ownerInformation)
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
ownerInformation
- User-provided value that will be included in any CloudWatch events raised while running tasks for
these targets in this Maintenance Window.UpdateMaintenanceWindowTargetRequest.Builder name(String name)
A name for the update.
name
- A name for the update.UpdateMaintenanceWindowTargetRequest.Builder description(String description)
An optional description for the update.
description
- An optional description for the update.UpdateMaintenanceWindowTargetRequest.Builder replace(Boolean replace)
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also
required for this API request. Optional fields that are not specified are set to null.UpdateMaintenanceWindowTargetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateMaintenanceWindowTargetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.