@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMaintenanceWindowTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateMaintenanceWindowTaskRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateMaintenanceWindowTaskRequest |
addTaskParametersEntry(String key,
MaintenanceWindowTaskParameterValueExpression value) |
UpdateMaintenanceWindowTaskRequest |
clearTaskParametersEntries()
Removes all the entries added into TaskParameters.
|
UpdateMaintenanceWindowTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The new task description to specify.
|
LoggingInfo |
getLoggingInfo()
The new logging location in Amazon S3 to specify.
|
String |
getMaxConcurrency()
The new
MaxConcurrency value you want to specify. |
String |
getMaxErrors()
The new
MaxErrors value to specify. |
String |
getName()
The new task name to specify.
|
Integer |
getPriority()
The new task priority to specify.
|
Boolean |
getReplace()
If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for
this API request.
|
String |
getServiceRoleArn()
The ARN of the IAM service role for Systems Manager to assume when running a maintenance window task.
|
List<Target> |
getTargets()
The targets (either instances or tags) to modify.
|
String |
getTaskArn()
The task ARN to modify.
|
MaintenanceWindowTaskInvocationParameters |
getTaskInvocationParameters()
The parameters that the task should use during execution.
|
Map<String,MaintenanceWindowTaskParameterValueExpression> |
getTaskParameters()
The parameters to modify.
|
String |
getWindowId()
The maintenance window ID that contains the task to modify.
|
String |
getWindowTaskId()
The task ID to modify.
|
int |
hashCode() |
Boolean |
isReplace()
If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for
this API request.
|
void |
setDescription(String description)
The new task description to specify.
|
void |
setLoggingInfo(LoggingInfo loggingInfo)
The new logging location in Amazon S3 to specify.
|
void |
setMaxConcurrency(String maxConcurrency)
The new
MaxConcurrency value you want to specify. |
void |
setMaxErrors(String maxErrors)
The new
MaxErrors value to specify. |
void |
setName(String name)
The new task name to specify.
|
void |
setPriority(Integer priority)
The new task priority to specify.
|
void |
setReplace(Boolean replace)
If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for
this API request.
|
void |
setServiceRoleArn(String serviceRoleArn)
The ARN of the IAM service role for Systems Manager to assume when running a maintenance window task.
|
void |
setTargets(Collection<Target> targets)
The targets (either instances or tags) to modify.
|
void |
setTaskArn(String taskArn)
The task ARN to modify.
|
void |
setTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters that the task should use during execution.
|
void |
setTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to modify.
|
void |
setWindowId(String windowId)
The maintenance window ID that contains the task to modify.
|
void |
setWindowTaskId(String windowTaskId)
The task ID to modify.
|
String |
toString()
Returns a string representation of this object.
|
UpdateMaintenanceWindowTaskRequest |
withDescription(String description)
The new task description to specify.
|
UpdateMaintenanceWindowTaskRequest |
withLoggingInfo(LoggingInfo loggingInfo)
The new logging location in Amazon S3 to specify.
|
UpdateMaintenanceWindowTaskRequest |
withMaxConcurrency(String maxConcurrency)
The new
MaxConcurrency value you want to specify. |
UpdateMaintenanceWindowTaskRequest |
withMaxErrors(String maxErrors)
The new
MaxErrors value to specify. |
UpdateMaintenanceWindowTaskRequest |
withName(String name)
The new task name to specify.
|
UpdateMaintenanceWindowTaskRequest |
withPriority(Integer priority)
The new task priority to specify.
|
UpdateMaintenanceWindowTaskRequest |
withReplace(Boolean replace)
If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for
this API request.
|
UpdateMaintenanceWindowTaskRequest |
withServiceRoleArn(String serviceRoleArn)
The ARN of the IAM service role for Systems Manager to assume when running a maintenance window task.
|
UpdateMaintenanceWindowTaskRequest |
withTargets(Collection<Target> targets)
The targets (either instances or tags) to modify.
|
UpdateMaintenanceWindowTaskRequest |
withTargets(Target... targets)
The targets (either instances or tags) to modify.
|
UpdateMaintenanceWindowTaskRequest |
withTaskArn(String taskArn)
The task ARN to modify.
|
UpdateMaintenanceWindowTaskRequest |
withTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters that the task should use during execution.
|
UpdateMaintenanceWindowTaskRequest |
withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to modify.
|
UpdateMaintenanceWindowTaskRequest |
withWindowId(String windowId)
The maintenance window ID that contains the task to modify.
|
UpdateMaintenanceWindowTaskRequest |
withWindowTaskId(String windowTaskId)
The task ID to modify.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setWindowId(String windowId)
The maintenance window ID that contains the task to modify.
windowId
- The maintenance window ID that contains the task to modify.public String getWindowId()
The maintenance window ID that contains the task to modify.
public UpdateMaintenanceWindowTaskRequest withWindowId(String windowId)
The maintenance window ID that contains the task to modify.
windowId
- The maintenance window ID that contains the task to modify.public void setWindowTaskId(String windowTaskId)
The task ID to modify.
windowTaskId
- The task ID to modify.public String getWindowTaskId()
The task ID to modify.
public UpdateMaintenanceWindowTaskRequest withWindowTaskId(String windowTaskId)
The task ID to modify.
windowTaskId
- The task ID to modify.public List<Target> getTargets()
The targets (either instances or tags) to modify. Instances are specified using Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using Key=tag_name,Values=tag_value.
public void setTargets(Collection<Target> targets)
The targets (either instances or tags) to modify. Instances are specified using Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using Key=tag_name,Values=tag_value.
targets
- The targets (either instances or tags) to modify. Instances are specified using
Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using Key=tag_name,Values=tag_value.public UpdateMaintenanceWindowTaskRequest withTargets(Target... targets)
The targets (either instances or tags) to modify. Instances are specified using Key=instanceids,Values=instanceID_1,instanceID_2. 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) to modify. Instances are specified using
Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using Key=tag_name,Values=tag_value.public UpdateMaintenanceWindowTaskRequest withTargets(Collection<Target> targets)
The targets (either instances or tags) to modify. Instances are specified using Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using Key=tag_name,Values=tag_value.
targets
- The targets (either instances or tags) to modify. Instances are specified using
Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using Key=tag_name,Values=tag_value.public void setTaskArn(String taskArn)
The task ARN to modify.
taskArn
- The task ARN to modify.public String getTaskArn()
The task ARN to modify.
public UpdateMaintenanceWindowTaskRequest withTaskArn(String taskArn)
The task ARN to modify.
taskArn
- The task ARN to modify.public void setServiceRoleArn(String serviceRoleArn)
The ARN of the IAM service role for Systems Manager to assume when running a maintenance window task. If you do
not specify a service role ARN, Systems Manager uses your account's service-linked role. If no service-linked
role for Systems Manager exists in your account, it is created when you run
RegisterTaskWithMaintenanceWindow
.
For more information, see the following topics in the in the AWS Systems Manager User Guide:
serviceRoleArn
- The ARN of the IAM service role for Systems Manager to assume when running a maintenance window task. If
you do not specify a service role ARN, Systems Manager uses your account's service-linked role. If no
service-linked role for Systems Manager exists in your account, it is created when you run
RegisterTaskWithMaintenanceWindow
.
For more information, see the following topics in the in the AWS Systems Manager User Guide:
public String getServiceRoleArn()
The ARN of the IAM service role for Systems Manager to assume when running a maintenance window task. If you do
not specify a service role ARN, Systems Manager uses your account's service-linked role. If no service-linked
role for Systems Manager exists in your account, it is created when you run
RegisterTaskWithMaintenanceWindow
.
For more information, see the following topics in the in the AWS Systems Manager User Guide:
RegisterTaskWithMaintenanceWindow
.
For more information, see the following topics in the in the AWS Systems Manager User Guide:
public UpdateMaintenanceWindowTaskRequest withServiceRoleArn(String serviceRoleArn)
The ARN of the IAM service role for Systems Manager to assume when running a maintenance window task. If you do
not specify a service role ARN, Systems Manager uses your account's service-linked role. If no service-linked
role for Systems Manager exists in your account, it is created when you run
RegisterTaskWithMaintenanceWindow
.
For more information, see the following topics in the in the AWS Systems Manager User Guide:
serviceRoleArn
- The ARN of the IAM service role for Systems Manager to assume when running a maintenance window task. If
you do not specify a service role ARN, Systems Manager uses your account's service-linked role. If no
service-linked role for Systems Manager exists in your account, it is created when you run
RegisterTaskWithMaintenanceWindow
.
For more information, see the following topics in the in the AWS Systems Manager User Guide:
public Map<String,MaintenanceWindowTaskParameterValueExpression> getTaskParameters()
The parameters to modify.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead
use the Parameters
option in the TaskInvocationParameters
structure. For information
about how Systems Manager handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
The map has the following format:
Key: string, between 1 and 255 characters
Value: an array of strings, each string is between 1 and 255 characters
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs,
instead use the Parameters
option in the TaskInvocationParameters
structure.
For information about how Systems Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
The map has the following format:
Key: string, between 1 and 255 characters
Value: an array of strings, each string is between 1 and 255 characters
public void setTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to modify.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead
use the Parameters
option in the TaskInvocationParameters
structure. For information
about how Systems Manager handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
The map has the following format:
Key: string, between 1 and 255 characters
Value: an array of strings, each string is between 1 and 255 characters
taskParameters
- The parameters to modify.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs,
instead use the Parameters
option in the TaskInvocationParameters
structure. For
information about how Systems Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
The map has the following format:
Key: string, between 1 and 255 characters
Value: an array of strings, each string is between 1 and 255 characters
public UpdateMaintenanceWindowTaskRequest withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to modify.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead
use the Parameters
option in the TaskInvocationParameters
structure. For information
about how Systems Manager handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
The map has the following format:
Key: string, between 1 and 255 characters
Value: an array of strings, each string is between 1 and 255 characters
taskParameters
- The parameters to modify.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs,
instead use the Parameters
option in the TaskInvocationParameters
structure. For
information about how Systems Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
The map has the following format:
Key: string, between 1 and 255 characters
Value: an array of strings, each string is between 1 and 255 characters
public UpdateMaintenanceWindowTaskRequest addTaskParametersEntry(String key, MaintenanceWindowTaskParameterValueExpression value)
public UpdateMaintenanceWindowTaskRequest clearTaskParametersEntries()
public void setTaskInvocationParameters(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.public MaintenanceWindowTaskInvocationParameters getTaskInvocationParameters()
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 UpdateMaintenanceWindowTaskRequest withTaskInvocationParameters(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.public void setPriority(Integer priority)
The new task priority to specify. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
priority
- The new task priority to specify. The lower the number, the higher the priority. Tasks that have the same
priority are scheduled in parallel.public Integer getPriority()
The new task priority to specify. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
public UpdateMaintenanceWindowTaskRequest withPriority(Integer priority)
The new task priority to specify. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
priority
- The new task priority to specify. The lower the number, the higher the priority. Tasks that have the same
priority are scheduled in parallel.public void setMaxConcurrency(String maxConcurrency)
The new MaxConcurrency
value you want to specify. MaxConcurrency
is the number of
targets that are allowed to run this task in parallel.
maxConcurrency
- The new MaxConcurrency
value you want to specify. MaxConcurrency
is the number
of targets that are allowed to run this task in parallel.public String getMaxConcurrency()
The new MaxConcurrency
value you want to specify. MaxConcurrency
is the number of
targets that are allowed to run this task in parallel.
MaxConcurrency
value you want to specify. MaxConcurrency
is the number
of targets that are allowed to run this task in parallel.public UpdateMaintenanceWindowTaskRequest withMaxConcurrency(String maxConcurrency)
The new MaxConcurrency
value you want to specify. MaxConcurrency
is the number of
targets that are allowed to run this task in parallel.
maxConcurrency
- The new MaxConcurrency
value you want to specify. MaxConcurrency
is the number
of targets that are allowed to run this task in parallel.public void setMaxErrors(String maxErrors)
The new MaxErrors
value to specify. MaxErrors
is the maximum number of errors that are
allowed before the task stops being scheduled.
maxErrors
- The new MaxErrors
value to specify. MaxErrors
is the maximum number of errors
that are allowed before the task stops being scheduled.public String getMaxErrors()
The new MaxErrors
value to specify. MaxErrors
is the maximum number of errors that are
allowed before the task stops being scheduled.
MaxErrors
value to specify. MaxErrors
is the maximum number of errors
that are allowed before the task stops being scheduled.public UpdateMaintenanceWindowTaskRequest withMaxErrors(String maxErrors)
The new MaxErrors
value to specify. MaxErrors
is the maximum number of errors that are
allowed before the task stops being scheduled.
maxErrors
- The new MaxErrors
value to specify. MaxErrors
is the maximum number of errors
that are allowed before the task stops being scheduled.public void setLoggingInfo(LoggingInfo loggingInfo)
The new logging location in Amazon S3 to specify.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these options
for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
loggingInfo
- The new logging location in Amazon S3 to specify.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these
options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
public LoggingInfo getLoggingInfo()
The new logging location in Amazon S3 to specify.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these options
for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these
options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
public UpdateMaintenanceWindowTaskRequest withLoggingInfo(LoggingInfo loggingInfo)
The new logging location in Amazon S3 to specify.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these options
for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
loggingInfo
- The new logging location in Amazon S3 to specify.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these
options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
public void setName(String name)
The new task name to specify.
name
- The new task name to specify.public String getName()
The new task name to specify.
public UpdateMaintenanceWindowTaskRequest withName(String name)
The new task name to specify.
name
- The new task name to specify.public void setDescription(String description)
The new task description to specify.
description
- The new task description to specify.public String getDescription()
The new task description to specify.
public UpdateMaintenanceWindowTaskRequest withDescription(String description)
The new task description to specify.
description
- The new task description to specify.public void setReplace(Boolean replace)
If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also
required for this API request. Optional fields that are not specified are set to null.public Boolean getReplace()
If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for this API request. Optional fields that are not specified are set to null.
public UpdateMaintenanceWindowTaskRequest withReplace(Boolean replace)
If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also
required for this API request. Optional fields that are not specified are set to null.public Boolean isReplace()
If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for this API request. Optional fields that are not specified are set to null.
public String toString()
toString
in class Object
Object.toString()
public UpdateMaintenanceWindowTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.