CopyableBuilder<RegisterTaskWithMaintenanceWindowRequest.Builder,RegisterTaskWithMaintenanceWindowRequest>, SdkBuilder<RegisterTaskWithMaintenanceWindowRequest.Builder,RegisterTaskWithMaintenanceWindowRequest>public static interface RegisterTaskWithMaintenanceWindowRequest.Builder extends CopyableBuilder<RegisterTaskWithMaintenanceWindowRequest.Builder,RegisterTaskWithMaintenanceWindowRequest>
| Modifier and Type | Method | Description |
|---|---|---|
RegisterTaskWithMaintenanceWindowRequest.Builder |
clientToken(String clientToken) |
User-provided idempotency token.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
loggingInfo(LoggingInfo loggingInfo) |
A structure containing information about an Amazon S3 bucket to write instance-level logs to.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
maxConcurrency(String maxConcurrency) |
The maximum number of targets this task can be run for in parallel.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
maxErrors(String maxErrors) |
The maximum number of errors allowed before this task stops being scheduled.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
priority(Integer priority) |
The priority of the task in the Maintenance Window, the lower the number the higher the priority.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
serviceRoleArn(String serviceRoleArn) |
The role that should be assumed when executing the task.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
targets(Collection<Target> targets) |
The targets (either instances or tags).
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
targets(Target... targets) |
The targets (either instances or tags).
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
taskArn(String taskArn) |
The ARN of the task to execute
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
taskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters) |
The parameters that should be passed to the task when it is executed.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
taskType(String taskType) |
The type of task being registered.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
taskType(MaintenanceWindowTaskType taskType) |
The type of task being registered.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
windowId(String windowId) |
The id of the Maintenance Window the task should be added to.
|
copyapply, buildRegisterTaskWithMaintenanceWindowRequest.Builder windowId(String windowId)
The id of the Maintenance Window the task should be added to.
windowId - The id of the Maintenance Window the task should be added to.RegisterTaskWithMaintenanceWindowRequest.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>.RegisterTaskWithMaintenanceWindowRequest.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>.RegisterTaskWithMaintenanceWindowRequest.Builder taskArn(String taskArn)
The ARN of the task to execute
taskArn - The ARN of the task to executeRegisterTaskWithMaintenanceWindowRequest.Builder serviceRoleArn(String serviceRoleArn)
The role that should be assumed when executing the task.
serviceRoleArn - The role that should be assumed when executing the task.RegisterTaskWithMaintenanceWindowRequest.Builder taskType(String taskType)
The type of task being registered.
taskType - The type of task being registered.MaintenanceWindowTaskTypeRegisterTaskWithMaintenanceWindowRequest.Builder taskType(MaintenanceWindowTaskType taskType)
The type of task being registered.
taskType - The type of task being registered.MaintenanceWindowTaskTypeRegisterTaskWithMaintenanceWindowRequest.Builder taskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters that should be passed to the task when it is executed.
taskParameters - The parameters that should be passed to the task when it is executed.RegisterTaskWithMaintenanceWindowRequest.Builder priority(Integer priority)
The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
priority - The priority of the task in the Maintenance Window, the lower the number the higher the priority.
Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority
scheduled in parallel.RegisterTaskWithMaintenanceWindowRequest.Builder maxConcurrency(String maxConcurrency)
The maximum number of targets this task can be run for in parallel.
maxConcurrency - The maximum number of targets this task can be run for in parallel.RegisterTaskWithMaintenanceWindowRequest.Builder maxErrors(String maxErrors)
The maximum number of errors allowed before this task stops being scheduled.
maxErrors - The maximum number of errors allowed before this task stops being scheduled.RegisterTaskWithMaintenanceWindowRequest.Builder loggingInfo(LoggingInfo loggingInfo)
A structure containing information about an Amazon S3 bucket to write instance-level logs to.
loggingInfo - A structure containing information about an Amazon S3 bucket to write instance-level logs to.RegisterTaskWithMaintenanceWindowRequest.Builder clientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.