public static interface MaintenanceWindowTarget.Builder extends SdkPojo, CopyableBuilder<MaintenanceWindowTarget.Builder,MaintenanceWindowTarget>
| Modifier and Type | Method and Description |
|---|---|
MaintenanceWindowTarget.Builder |
description(String description)
A description for the target.
|
MaintenanceWindowTarget.Builder |
name(String name)
The target name.
|
MaintenanceWindowTarget.Builder |
ownerInformation(String ownerInformation)
A user-provided value that will be included in any CloudWatch events that are raised while running tasks for
these targets in this Maintenance Window.
|
MaintenanceWindowTarget.Builder |
resourceType(MaintenanceWindowResourceType resourceType)
The type of target that is being registered with the Maintenance Window.
|
MaintenanceWindowTarget.Builder |
resourceType(String resourceType)
The type of target that is being registered with the Maintenance Window.
|
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 ID of the Maintenance Window to register the target with.
|
MaintenanceWindowTarget.Builder |
windowTargetId(String windowTargetId)
The ID of the target.
|
copyapplyMutation, buildMaintenanceWindowTarget.Builder windowId(String windowId)
The ID of the Maintenance Window to register the target with.
windowId - The ID of the Maintenance Window to register the target with.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 that is being registered with the Maintenance Window.
resourceType - The type of target that is being registered with the Maintenance Window.MaintenanceWindowResourceType,
MaintenanceWindowResourceTypeMaintenanceWindowTarget.Builder resourceType(MaintenanceWindowResourceType resourceType)
The type of target that is being registered with the Maintenance Window.
resourceType - The type of target that is being registered with the Maintenance Window.MaintenanceWindowResourceType,
MaintenanceWindowResourceTypeMaintenanceWindowTarget.Builder targets(Collection<Target> targets)
The targets, either instances or tags.
Specify instances using the following format:
Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>.
targets - The targets, either instances or tags.
Specify instances using the following format:
Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>.
MaintenanceWindowTarget.Builder targets(Target... targets)
The targets, either instances or tags.
Specify instances using the following format:
Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>.
targets - The targets, either instances or tags.
Specify instances using the following format:
Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>.
MaintenanceWindowTarget.Builder targets(Consumer<Target.Builder>... targets)
The targets, either instances or tags.
Specify instances using the following format:
Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>.
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) MaintenanceWindowTarget.Builder ownerInformation(String ownerInformation)
A user-provided value that will be included in any CloudWatch events that are raised while running tasks for these targets in this Maintenance Window.
ownerInformation - A user-provided value that will be included in any CloudWatch events that are 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 for the target.
description - A description for the target.Copyright © 2019. All rights reserved.