@Generated(value="software.amazon.awssdk:codegen") public class RegisterTaskWithMaintenanceWindowRequest extends SSMRequest implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<RegisterTaskWithMaintenanceWindowRequest.Builder,RegisterTaskWithMaintenanceWindowRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegisterTaskWithMaintenanceWindowRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RegisterTaskWithMaintenanceWindowRequest.Builder |
builder() |
String |
clientToken()
User-provided idempotency token.
|
String |
description()
An optional description for the task.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LoggingInfo |
loggingInfo()
A structure containing information about an Amazon S3 bucket to write instance-level logs to.
|
String |
maxConcurrency()
The maximum number of targets this task can be run for in parallel.
|
String |
maxErrors()
The maximum number of errors allowed before this task stops being scheduled.
|
String |
name()
An optional name for the task.
|
Integer |
priority()
The priority of the task in the Maintenance Window, the lower the number the higher the priority.
|
static Class<? extends RegisterTaskWithMaintenanceWindowRequest.Builder> |
serializableBuilderClass() |
String |
serviceRoleArn()
The role that should be assumed when executing the task.
|
List<Target> |
targets()
The targets (either instances or tags).
|
String |
taskArn()
The ARN of the task to execute
|
MaintenanceWindowTaskInvocationParameters |
taskInvocationParameters()
The parameters that the task should use during execution.
|
Map<String,MaintenanceWindowTaskParameterValueExpression> |
taskParameters()
The parameters that should be passed to the task when it is executed.
|
MaintenanceWindowTaskType |
taskType()
The type of task being registered.
|
String |
taskTypeString()
The type of task being registered.
|
RegisterTaskWithMaintenanceWindowRequest.Builder |
toBuilder() |
String |
toString() |
String |
windowId()
The id of the Maintenance Window the task should be added to.
|
requestOverrideConfigpublic String windowId()
The id of the Maintenance Window the task should be added to.
public List<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>.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String taskArn()
The ARN of the task to execute
public String serviceRoleArn()
The role that should be assumed when executing the task.
public MaintenanceWindowTaskType taskType()
The type of task being registered.
If the service returns an enum value that is not available in the current SDK version, taskType will
return MaintenanceWindowTaskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from taskTypeString().
MaintenanceWindowTaskTypepublic String taskTypeString()
The type of task being registered.
If the service returns an enum value that is not available in the current SDK version, taskType will
return MaintenanceWindowTaskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from taskTypeString().
MaintenanceWindowTaskTypepublic Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters()
The parameters that should be passed to the task when it is executed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
public 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.
public String maxConcurrency()
The maximum number of targets this task can be run for in parallel.
public String maxErrors()
The maximum number of errors allowed before this task stops being scheduled.
public LoggingInfo loggingInfo()
A structure containing information about an Amazon S3 bucket to write instance-level logs to.
public String name()
An optional name for the task.
public String description()
An optional description for the task.
public String clientToken()
User-provided idempotency token.
public RegisterTaskWithMaintenanceWindowRequest.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<RegisterTaskWithMaintenanceWindowRequest.Builder,RegisterTaskWithMaintenanceWindowRequest>toBuilder in class SSMRequestpublic static RegisterTaskWithMaintenanceWindowRequest.Builder builder()
public static Class<? extends RegisterTaskWithMaintenanceWindowRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2017. All rights reserved.