@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 that you want to specify.
|
LoggingInfo |
getLoggingInfo()
The new logging location in Amazon S3 that you want to specify.
|
String |
getMaxConcurrency()
The new
MaxConcurrency value you want to specify. |
String |
getMaxErrors()
The new
MaxErrors value you want to specify. |
String |
getName()
The new task name that you want to specify.
|
Integer |
getPriority()
The new task priority that you want to specify.
|
Boolean |
getReplace()
If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are also
required for this API request.
|
String |
getServiceRoleArn()
The IAM service role ARN that you want to modify.
|
List<Target> |
getTargets()
The targets (either instances or tags) that you want to modify.
|
String |
getTaskArn()
The task ARN that you want to modify.
|
MaintenanceWindowTaskInvocationParameters |
getTaskInvocationParameters()
Parameters the task should use during execution.
|
Map<String,MaintenanceWindowTaskParameterValueExpression> |
getTaskParameters()
The parameters that you want to modify.
|
String |
getWindowId()
The Maintenance Window ID that contains the task that you want to modify.
|
String |
getWindowTaskId()
The task ID that you want to modify.
|
int |
hashCode() |
Boolean |
isReplace()
If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are also
required for this API request.
|
void |
setDescription(String description)
The new task description that you want to specify.
|
void |
setLoggingInfo(LoggingInfo loggingInfo)
The new logging location in Amazon S3 that you want to specify.
|
void |
setMaxConcurrency(String maxConcurrency)
The new
MaxConcurrency value you want to specify. |
void |
setMaxErrors(String maxErrors)
The new
MaxErrors value you want to specify. |
void |
setName(String name)
The new task name that you want to specify.
|
void |
setPriority(Integer priority)
The new task priority that you want to specify.
|
void |
setReplace(Boolean replace)
If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are also
required for this API request.
|
void |
setServiceRoleArn(String serviceRoleArn)
The IAM service role ARN that you want to modify.
|
void |
setTargets(Collection<Target> targets)
The targets (either instances or tags) that you want to modify.
|
void |
setTaskArn(String taskArn)
The task ARN that you want to modify.
|
void |
setTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
Parameters the task should use during execution.
|
void |
setTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters that you want to modify.
|
void |
setWindowId(String windowId)
The Maintenance Window ID that contains the task that you want to modify.
|
void |
setWindowTaskId(String windowTaskId)
The task ID that you want to modify.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateMaintenanceWindowTaskRequest |
withDescription(String description)
The new task description that you want to specify.
|
UpdateMaintenanceWindowTaskRequest |
withLoggingInfo(LoggingInfo loggingInfo)
The new logging location in Amazon S3 that you want to specify.
|
UpdateMaintenanceWindowTaskRequest |
withMaxConcurrency(String maxConcurrency)
The new
MaxConcurrency value you want to specify. |
UpdateMaintenanceWindowTaskRequest |
withMaxErrors(String maxErrors)
The new
MaxErrors value you want to specify. |
UpdateMaintenanceWindowTaskRequest |
withName(String name)
The new task name that you want to specify.
|
UpdateMaintenanceWindowTaskRequest |
withPriority(Integer priority)
The new task priority that you want to specify.
|
UpdateMaintenanceWindowTaskRequest |
withReplace(Boolean replace)
If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are also
required for this API request.
|
UpdateMaintenanceWindowTaskRequest |
withServiceRoleArn(String serviceRoleArn)
The IAM service role ARN that you want to modify.
|
UpdateMaintenanceWindowTaskRequest |
withTargets(Collection<Target> targets)
The targets (either instances or tags) that you want to modify.
|
UpdateMaintenanceWindowTaskRequest |
withTargets(Target... targets)
The targets (either instances or tags) that you want to modify.
|
UpdateMaintenanceWindowTaskRequest |
withTaskArn(String taskArn)
The task ARN that you want to modify.
|
UpdateMaintenanceWindowTaskRequest |
withTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
Parameters the task should use during execution.
|
UpdateMaintenanceWindowTaskRequest |
withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters that you want to modify.
|
UpdateMaintenanceWindowTaskRequest |
withWindowId(String windowId)
The Maintenance Window ID that contains the task that you want to modify.
|
UpdateMaintenanceWindowTaskRequest |
withWindowTaskId(String windowTaskId)
The task ID that you want 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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setWindowId(String windowId)
The Maintenance Window ID that contains the task that you want to modify.
windowId
- The Maintenance Window ID that contains the task that you want to modify.public String getWindowId()
The Maintenance Window ID that contains the task that you want to modify.
public UpdateMaintenanceWindowTaskRequest withWindowId(String windowId)
The Maintenance Window ID that contains the task that you want to modify.
windowId
- The Maintenance Window ID that contains the task that you want to modify.public void setWindowTaskId(String windowTaskId)
The task ID that you want to modify.
windowTaskId
- The task ID that you want to modify.public String getWindowTaskId()
The task ID that you want to modify.
public UpdateMaintenanceWindowTaskRequest withWindowTaskId(String windowTaskId)
The task ID that you want to modify.
windowTaskId
- The task ID that you want to modify.public List<Target> getTargets()
The targets (either instances or tags) that you want 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) that you want 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) that you want 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) that you want 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) that you want 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) that you want 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) that you want 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 that you want to modify.
taskArn
- The task ARN that you want to modify.public String getTaskArn()
The task ARN that you want to modify.
public UpdateMaintenanceWindowTaskRequest withTaskArn(String taskArn)
The task ARN that you want to modify.
taskArn
- The task ARN that you want to modify.public void setServiceRoleArn(String serviceRoleArn)
The IAM service role ARN that you want to modify. The system assumes this role during task exectuion.
serviceRoleArn
- The IAM service role ARN that you want to modify. The system assumes this role during task exectuion.public String getServiceRoleArn()
The IAM service role ARN that you want to modify. The system assumes this role during task exectuion.
public UpdateMaintenanceWindowTaskRequest withServiceRoleArn(String serviceRoleArn)
The IAM service role ARN that you want to modify. The system assumes this role during task exectuion.
serviceRoleArn
- The IAM service role ARN that you want to modify. The system assumes this role during task exectuion.public Map<String,MaintenanceWindowTaskParameterValueExpression> getTaskParameters()
The parameters that you want to modify. 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
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 that you want to modify. 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 that you want to modify. 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 that you want to modify. 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 that you want to modify. 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)
Parameters the task should use during execution. Populate only the fields that match the task type. All other fields should be empty.
taskInvocationParameters
- Parameters the task should use during execution. Populate only the fields that match the task type. All
other fields should be empty.public MaintenanceWindowTaskInvocationParameters getTaskInvocationParameters()
Parameters 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)
Parameters the task should use during execution. Populate only the fields that match the task type. All other fields should be empty.
taskInvocationParameters
- Parameters 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 that you want 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 that you want 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 that you want 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 that you want 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 that you want 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 you want to specify. MaxErrors
is the maximum number of errors
that are allowed before the task stops being scheduled.
maxErrors
- The new MaxErrors
value you want 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 you want to specify. MaxErrors
is the maximum number of errors
that are allowed before the task stops being scheduled.
MaxErrors
value you want 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 you want to specify. MaxErrors
is the maximum number of errors
that are allowed before the task stops being scheduled.
maxErrors
- The new MaxErrors
value you want 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 that you want to specify.
loggingInfo
- The new logging location in Amazon S3 that you want to specify.public LoggingInfo getLoggingInfo()
The new logging location in Amazon S3 that you want to specify.
public UpdateMaintenanceWindowTaskRequest withLoggingInfo(LoggingInfo loggingInfo)
The new logging location in Amazon S3 that you want to specify.
loggingInfo
- The new logging location in Amazon S3 that you want to specify.public void setName(String name)
The new task name that you want to specify.
name
- The new task name that you want to specify.public String getName()
The new task name that you want to specify.
public UpdateMaintenanceWindowTaskRequest withName(String name)
The new task name that you want to specify.
name
- The new task name that you want to specify.public void setDescription(String description)
The new task description that you want to specify.
description
- The new task description that you want to specify.public String getDescription()
The new task description that you want to specify.
public UpdateMaintenanceWindowTaskRequest withDescription(String description)
The new task description that you want to specify.
description
- The new task description that you want to specify.public void setReplace(Boolean replace)
If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are also required for this API request. Optional fields that are not specified will be set to null.
replace
- If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are
also required for this API request. Optional fields that are not specified will be set to null.public Boolean getReplace()
If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are also required for this API request. Optional fields that are not specified will be set to null.
public UpdateMaintenanceWindowTaskRequest withReplace(Boolean replace)
If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are also required for this API request. Optional fields that are not specified will be set to null.
replace
- If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are
also required for this API request. Optional fields that are not specified will be set to null.public Boolean isReplace()
If you specify True, then all fields that are required by the RegisterTaskWithMaintenanceWndow API are also required for this API request. Optional fields that are not specified will be 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.