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(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.
|
copy
apply, build
MaintenanceWindowTarget.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
,
MaintenanceWindowResourceType
MaintenanceWindowTarget.Builder resourceType(MaintenanceWindowResourceType resourceType)
The type of target.
resourceType
- The type of target.MaintenanceWindowResourceType
,
MaintenanceWindowResourceType
MaintenanceWindowTarget.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 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.