public static interface RegisterTargetWithMaintenanceWindowRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<RegisterTargetWithMaintenanceWindowRequest.Builder,RegisterTargetWithMaintenanceWindowRequest>
buildoverrideConfigurationcopyapplyMutation, buildRegisterTargetWithMaintenanceWindowRequest.Builder windowId(String windowId)
The ID of the Maintenance Window the target should be registered with.
windowId - The ID of the Maintenance Window the target should be registered with.RegisterTargetWithMaintenanceWindowRequest.Builder resourceType(String resourceType)
The type of target being registered with the Maintenance Window.
resourceType - The type of target being registered with the Maintenance Window.MaintenanceWindowResourceType,
MaintenanceWindowResourceTypeRegisterTargetWithMaintenanceWindowRequest.Builder resourceType(MaintenanceWindowResourceType resourceType)
The type of target being registered with the Maintenance Window.
resourceType - The type of target being registered with the Maintenance Window.MaintenanceWindowResourceType,
MaintenanceWindowResourceTypeRegisterTargetWithMaintenanceWindowRequest.Builder targets(Collection<Target> targets)
The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
targets - The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
RegisterTargetWithMaintenanceWindowRequest.Builder targets(Target... targets)
The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
targets - The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
RegisterTargetWithMaintenanceWindowRequest.Builder targets(Consumer<Target.Builder>... targets)
The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
List.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) RegisterTargetWithMaintenanceWindowRequest.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.RegisterTargetWithMaintenanceWindowRequest.Builder name(String name)
An optional name for the target.
name - An optional name for the target.RegisterTargetWithMaintenanceWindowRequest.Builder description(String description)
An optional description for the target.
description - An optional description for the target.RegisterTargetWithMaintenanceWindowRequest.Builder clientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.RegisterTargetWithMaintenanceWindowRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.RegisterTargetWithMaintenanceWindowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.