CopyableBuilder<MaintenanceWindowTarget.Builder,MaintenanceWindowTarget>
, SdkBuilder<MaintenanceWindowTarget.Builder,MaintenanceWindowTarget>
public static interface MaintenanceWindowTarget.Builder extends CopyableBuilder<MaintenanceWindowTarget.Builder,MaintenanceWindowTarget>
Modifier and Type | Method | Description |
---|---|---|
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(String resourceType) |
The type of target.
|
MaintenanceWindowTarget.Builder |
resourceType(MaintenanceWindowResourceType 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
MaintenanceWindowTarget.Builder resourceType(MaintenanceWindowResourceType resourceType)
The type of target.
resourceType
- The type of target.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>.
NOTE: This method appends the values to the existing list (if any). Use
#setTargets(java.util.Collection)
or #withTargets(java.util.Collection)
if you want to
override the existing values.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.