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 name for the maintenance window target.
|
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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
MaintenanceWindowTarget.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
,
MaintenanceWindowResourceType
MaintenanceWindowTarget.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
,
MaintenanceWindowResourceType
MaintenanceWindowTarget.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 name for the maintenance window target.
name
- The name for the maintenance window target.MaintenanceWindowTarget.Builder description(String description)
A description for the target.
description
- A description for the target.Copyright © 2020. All rights reserved.