public static interface RegisterTaskWithMaintenanceWindowRequest.Builder extends SSMRequest.Builder, CopyableBuilder<RegisterTaskWithMaintenanceWindowRequest.Builder,RegisterTaskWithMaintenanceWindowRequest>
buildrequestOverrideConfigcopyapply, 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>.
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(Consumer<Target.Builder>... 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>.
This is a convenience that creates an instance of theList.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) 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.MaintenanceWindowTaskType,
MaintenanceWindowTaskTypeRegisterTaskWithMaintenanceWindowRequest.Builder taskType(MaintenanceWindowTaskType taskType)
The type of task being registered.
taskType - The type of task being registered.MaintenanceWindowTaskType,
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 taskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters that the task should use during execution. Populate only the fields that match the task type. All other fields should be empty.
taskInvocationParameters - The parameters that the task should use during execution. Populate only the fields that match the task
type. All other fields should be empty.default RegisterTaskWithMaintenanceWindowRequest.Builder taskInvocationParameters(Consumer<MaintenanceWindowTaskInvocationParameters.Builder> taskInvocationParameters)
The parameters that the task should use during execution. Populate only the fields that match the task type. All other fields should be empty.
This is a convenience that creates an instance of theMaintenanceWindowTaskInvocationParameters.Builder avoiding the need to create one manually via
MaintenanceWindowTaskInvocationParameters.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
taskInvocationParameters(MaintenanceWindowTaskInvocationParameters).taskInvocationParameters - a consumer that will call methods on MaintenanceWindowTaskInvocationParameters.BuildertaskInvocationParameters(MaintenanceWindowTaskInvocationParameters)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.default RegisterTaskWithMaintenanceWindowRequest.Builder loggingInfo(Consumer<LoggingInfo.Builder> loggingInfo)
A structure containing information about an Amazon S3 bucket to write instance-level logs to.
This is a convenience that creates an instance of theLoggingInfo.Builder avoiding the need to create
one manually via LoggingInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to loggingInfo(LoggingInfo).loggingInfo - a consumer that will call methods on LoggingInfo.BuilderloggingInfo(LoggingInfo)RegisterTaskWithMaintenanceWindowRequest.Builder name(String name)
An optional name for the task.
name - An optional name for the task.RegisterTaskWithMaintenanceWindowRequest.Builder description(String description)
An optional description for the task.
description - An optional description for the task.RegisterTaskWithMaintenanceWindowRequest.Builder clientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.RegisterTaskWithMaintenanceWindowRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.RegisterTaskWithMaintenanceWindowRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.