public static interface UpdateMaintenanceWindowTargetRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<UpdateMaintenanceWindowTargetRequest.Builder,UpdateMaintenanceWindowTargetRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateMaintenanceWindowTargetRequest.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 method that creates an instance of theTarget.Builder avoiding the need to create one manually via
Target.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #targets(List.
targets - a consumer that will call methods on Target.Builder#targets(java.util.Collection) UpdateMaintenanceWindowTargetRequest.Builder ownerInformation(String ownerInformation)
User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.
ownerInformation - User-provided value that will be included in any Amazon CloudWatch Events 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
operation are also required for this API request. Optional fields that aren't specified are set to null.
replace - If True, then all fields that are required by the
RegisterTargetWithMaintenanceWindow operation are also required for this API request. Optional
fields that aren't specified are set to null.UpdateMaintenanceWindowTargetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateMaintenanceWindowTargetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.