CopyableBuilder<RegisterTargetWithMaintenanceWindowRequest.Builder,RegisterTargetWithMaintenanceWindowRequest>, SdkBuilder<RegisterTargetWithMaintenanceWindowRequest.Builder,RegisterTargetWithMaintenanceWindowRequest>public static interface RegisterTargetWithMaintenanceWindowRequest.Builder extends CopyableBuilder<RegisterTargetWithMaintenanceWindowRequest.Builder,RegisterTargetWithMaintenanceWindowRequest>
| Modifier and Type | Method | Description |
|---|---|---|
RegisterTargetWithMaintenanceWindowRequest.Builder |
clientToken(String clientToken) |
User-provided idempotency token.
|
RegisterTargetWithMaintenanceWindowRequest.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.
|
RegisterTargetWithMaintenanceWindowRequest.Builder |
resourceType(String resourceType) |
The type of target being registered with the Maintenance Window.
|
RegisterTargetWithMaintenanceWindowRequest.Builder |
resourceType(MaintenanceWindowResourceType resourceType) |
The type of target being registered with the Maintenance Window.
|
RegisterTargetWithMaintenanceWindowRequest.Builder |
targets(Collection<Target> targets) |
The targets (either instances or tags).
|
RegisterTargetWithMaintenanceWindowRequest.Builder |
targets(Target... targets) |
The targets (either instances or tags).
|
RegisterTargetWithMaintenanceWindowRequest.Builder |
windowId(String windowId) |
The ID of the Maintenance Window the target should be registered with.
|
copyapply, buildRegisterTargetWithMaintenanceWindowRequest.Builder windowId(String windowId)
The ID of the Maintenance Window the target should be registered with.
windowId - The ID of the Maintenance Window the target should be registered with.RegisterTargetWithMaintenanceWindowRequest.Builder resourceType(String resourceType)
The type of target being registered with the Maintenance Window.
resourceType - The type of target being registered with the Maintenance Window.MaintenanceWindowResourceTypeRegisterTargetWithMaintenanceWindowRequest.Builder resourceType(MaintenanceWindowResourceType resourceType)
The type of target being registered with the Maintenance Window.
resourceType - The type of target being registered with the Maintenance Window.MaintenanceWindowResourceTypeRegisterTargetWithMaintenanceWindowRequest.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>.RegisterTargetWithMaintenanceWindowRequest.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>.RegisterTargetWithMaintenanceWindowRequest.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.RegisterTargetWithMaintenanceWindowRequest.Builder clientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.