public static interface MaintenanceWindowTarget.Builder extends CopyableBuilder<MaintenanceWindowTarget.Builder,MaintenanceWindowTarget>
| Modifier and Type | Method and Description |
|---|---|
MaintenanceWindowTarget.Builder |
description(String description)
A description of the target.
|
MaintenanceWindowTarget.Builder |
name(String name)
The target name.
|
MaintenanceWindowTarget.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.
|
MaintenanceWindowTarget.Builder |
resourceType(MaintenanceWindowResourceType resourceType)
The type of target.
|
MaintenanceWindowTarget.Builder |
resourceType(String resourceType)
The type of target.
|
MaintenanceWindowTarget.Builder |
targets(Collection<Target> targets)
The targets (either instances or tags).
|
MaintenanceWindowTarget.Builder |
targets(Consumer<Target.Builder>... targets)
The targets (either instances or tags).
|
MaintenanceWindowTarget.Builder |
targets(Target... targets)
The targets (either instances or tags).
|
MaintenanceWindowTarget.Builder |
windowId(String windowId)
The Maintenance Window ID where the target is registered.
|
MaintenanceWindowTarget.Builder |
windowTargetId(String windowTargetId)
The ID of the target.
|
copyapply, buildMaintenanceWindowTarget.Builder windowId(String windowId)
The Maintenance Window ID where the target is registered.
windowId - The Maintenance Window ID where the target is registered.MaintenanceWindowTarget.Builder windowTargetId(String windowTargetId)
The ID of the target.
windowTargetId - The ID of the target.MaintenanceWindowTarget.Builder resourceType(String resourceType)
The type of target.
resourceType - The type of target.MaintenanceWindowResourceType,
MaintenanceWindowResourceTypeMaintenanceWindowTarget.Builder resourceType(MaintenanceWindowResourceType resourceType)
The type of target.
resourceType - The type of target.MaintenanceWindowResourceType,
MaintenanceWindowResourceTypeMaintenanceWindowTarget.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>.MaintenanceWindowTarget.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>.MaintenanceWindowTarget.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) MaintenanceWindowTarget.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.MaintenanceWindowTarget.Builder name(String name)
The target name.
name - The target name.MaintenanceWindowTarget.Builder description(String description)
A description of the target.
description - A description of the target.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.