public static interface RegisterTargetWithMaintenanceWindowRequest.Builder extends SsmRequest.Builder, CopyableBuilder<RegisterTargetWithMaintenanceWindowRequest.Builder,RegisterTargetWithMaintenanceWindowRequest>
build
overrideConfiguration
copy
applyMutation, build
RegisterTargetWithMaintenanceWindowRequest.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
,
MaintenanceWindowResourceType
RegisterTargetWithMaintenanceWindowRequest.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
,
MaintenanceWindowResourceType
RegisterTargetWithMaintenanceWindowRequest.Builder targets(Collection<Target> targets)
The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.
targets
- The targets (either instances or tags). Instances are specified using
Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag
name>,Values=<tag value>.RegisterTargetWithMaintenanceWindowRequest.Builder targets(Target... targets)
The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.
targets
- The targets (either instances or tags). Instances are specified using
Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag
name>,Values=<tag value>.RegisterTargetWithMaintenanceWindowRequest.Builder targets(Consumer<Target.Builder>... targets)
The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.
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)
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.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.RegisterTargetWithMaintenanceWindowRequest.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.