CopyableBuilder<MaintenanceWindowTask.Builder,MaintenanceWindowTask>
, SdkBuilder<MaintenanceWindowTask.Builder,MaintenanceWindowTask>
public static interface MaintenanceWindowTask.Builder extends CopyableBuilder<MaintenanceWindowTask.Builder,MaintenanceWindowTask>
Modifier and Type | Method | Description |
---|---|---|
MaintenanceWindowTask.Builder |
loggingInfo(LoggingInfo loggingInfo) |
Information about an Amazon S3 bucket to write task-level logs to.
|
MaintenanceWindowTask.Builder |
maxConcurrency(String maxConcurrency) |
The maximum number of targets this task can be run for in parallel.
|
MaintenanceWindowTask.Builder |
maxErrors(String maxErrors) |
The maximum number of errors allowed before this task stops being scheduled.
|
MaintenanceWindowTask.Builder |
priority(Integer priority) |
The priority of the task in the Maintenance Window, the lower the number the higher the priority.
|
MaintenanceWindowTask.Builder |
serviceRoleArn(String serviceRoleArn) |
The role that should be assumed when executing the task
|
MaintenanceWindowTask.Builder |
targets(Collection<Target> targets) |
The targets (either instances or tags).
|
MaintenanceWindowTask.Builder |
targets(Target... targets) |
The targets (either instances or tags).
|
MaintenanceWindowTask.Builder |
taskArn(String taskArn) |
The ARN of the task to execute.
|
MaintenanceWindowTask.Builder |
taskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters) |
The parameters that should be passed to the task when it is executed.
|
MaintenanceWindowTask.Builder |
type(String type) |
The type of task.
|
MaintenanceWindowTask.Builder |
type(MaintenanceWindowTaskType type) |
The type of task.
|
MaintenanceWindowTask.Builder |
windowId(String windowId) |
The Maintenance Window ID where the task is registered.
|
MaintenanceWindowTask.Builder |
windowTaskId(String windowTaskId) |
The task ID.
|
copy
apply, build
MaintenanceWindowTask.Builder windowId(String windowId)
The Maintenance Window ID where the task is registered.
windowId
- The Maintenance Window ID where the task is registered.MaintenanceWindowTask.Builder windowTaskId(String windowTaskId)
The task ID.
windowTaskId
- The task ID.MaintenanceWindowTask.Builder taskArn(String taskArn)
The ARN of the task to execute.
taskArn
- The ARN of the task to execute.MaintenanceWindowTask.Builder type(String type)
The type of task.
type
- The type of task.MaintenanceWindowTaskType
MaintenanceWindowTask.Builder type(MaintenanceWindowTaskType type)
The type of task.
type
- The type of task.MaintenanceWindowTaskType
MaintenanceWindowTask.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>.MaintenanceWindowTask.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>.MaintenanceWindowTask.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.MaintenanceWindowTask.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.MaintenanceWindowTask.Builder loggingInfo(LoggingInfo loggingInfo)
Information about an Amazon S3 bucket to write task-level logs to.
loggingInfo
- Information about an Amazon S3 bucket to write task-level logs to.MaintenanceWindowTask.Builder serviceRoleArn(String serviceRoleArn)
The role that should be assumed when executing the task
serviceRoleArn
- The role that should be assumed when executing the taskMaintenanceWindowTask.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.MaintenanceWindowTask.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.