@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterTaskWithMaintenanceWindowRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterTaskWithMaintenanceWindowRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterTaskWithMaintenanceWindowRequest |
addTaskParametersEntry(String key,
MaintenanceWindowTaskParameterValueExpression value) |
RegisterTaskWithMaintenanceWindowRequest |
clearTaskParametersEntries()
Removes all the entries added into TaskParameters.
|
RegisterTaskWithMaintenanceWindowRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
User-provided idempotency token.
|
String |
getDescription()
An optional description for the task.
|
LoggingInfo |
getLoggingInfo()
A structure containing information about an Amazon S3 bucket to write instance-level logs to.
|
String |
getMaxConcurrency()
The maximum number of targets this task can be run for in parallel.
|
String |
getMaxErrors()
The maximum number of errors allowed before this task stops being scheduled.
|
String |
getName()
An optional name for the task.
|
Integer |
getPriority()
The priority of the task in the Maintenance Window, the lower the number the higher the priority.
|
String |
getServiceRoleArn()
The role that should be assumed when executing the task.
|
List<Target> |
getTargets()
The targets (either instances or tags).
|
String |
getTaskArn()
The ARN of the task to execute
|
MaintenanceWindowTaskInvocationParameters |
getTaskInvocationParameters()
The parameters that the task should use during execution.
|
Map<String,MaintenanceWindowTaskParameterValueExpression> |
getTaskParameters()
The parameters that should be passed to the task when it is executed.
|
String |
getTaskType()
The type of task being registered.
|
String |
getWindowId()
The id of the Maintenance Window the task should be added to.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
User-provided idempotency token.
|
void |
setDescription(String description)
An optional description for the task.
|
void |
setLoggingInfo(LoggingInfo loggingInfo)
A structure containing information about an Amazon S3 bucket to write instance-level logs to.
|
void |
setMaxConcurrency(String maxConcurrency)
The maximum number of targets this task can be run for in parallel.
|
void |
setMaxErrors(String maxErrors)
The maximum number of errors allowed before this task stops being scheduled.
|
void |
setName(String name)
An optional name for the task.
|
void |
setPriority(Integer priority)
The priority of the task in the Maintenance Window, the lower the number the higher the priority.
|
void |
setServiceRoleArn(String serviceRoleArn)
The role that should be assumed when executing the task.
|
void |
setTargets(Collection<Target> targets)
The targets (either instances or tags).
|
void |
setTaskArn(String taskArn)
The ARN of the task to execute
|
void |
setTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters that the task should use during execution.
|
void |
setTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters that should be passed to the task when it is executed.
|
void |
setTaskType(MaintenanceWindowTaskType taskType)
The type of task being registered.
|
void |
setTaskType(String taskType)
The type of task being registered.
|
void |
setWindowId(String windowId)
The id of the Maintenance Window the task should be added to.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RegisterTaskWithMaintenanceWindowRequest |
withClientToken(String clientToken)
User-provided idempotency token.
|
RegisterTaskWithMaintenanceWindowRequest |
withDescription(String description)
An optional description for the task.
|
RegisterTaskWithMaintenanceWindowRequest |
withLoggingInfo(LoggingInfo loggingInfo)
A structure containing information about an Amazon S3 bucket to write instance-level logs to.
|
RegisterTaskWithMaintenanceWindowRequest |
withMaxConcurrency(String maxConcurrency)
The maximum number of targets this task can be run for in parallel.
|
RegisterTaskWithMaintenanceWindowRequest |
withMaxErrors(String maxErrors)
The maximum number of errors allowed before this task stops being scheduled.
|
RegisterTaskWithMaintenanceWindowRequest |
withName(String name)
An optional name for the task.
|
RegisterTaskWithMaintenanceWindowRequest |
withPriority(Integer priority)
The priority of the task in the Maintenance Window, the lower the number the higher the priority.
|
RegisterTaskWithMaintenanceWindowRequest |
withServiceRoleArn(String serviceRoleArn)
The role that should be assumed when executing the task.
|
RegisterTaskWithMaintenanceWindowRequest |
withTargets(Collection<Target> targets)
The targets (either instances or tags).
|
RegisterTaskWithMaintenanceWindowRequest |
withTargets(Target... targets)
The targets (either instances or tags).
|
RegisterTaskWithMaintenanceWindowRequest |
withTaskArn(String taskArn)
The ARN of the task to execute
|
RegisterTaskWithMaintenanceWindowRequest |
withTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters that the task should use during execution.
|
RegisterTaskWithMaintenanceWindowRequest |
withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters that should be passed to the task when it is executed.
|
RegisterTaskWithMaintenanceWindowRequest |
withTaskType(MaintenanceWindowTaskType taskType)
The type of task being registered.
|
RegisterTaskWithMaintenanceWindowRequest |
withTaskType(String taskType)
The type of task being registered.
|
RegisterTaskWithMaintenanceWindowRequest |
withWindowId(String windowId)
The id of the Maintenance Window the task should be added to.
|
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 RegisterTaskWithMaintenanceWindowRequest()
public void setWindowId(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.public String getWindowId()
The id of the Maintenance Window the task should be added to.
public RegisterTaskWithMaintenanceWindowRequest withWindowId(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.public List<Target> getTargets()
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>.
public void setTargets(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>.public RegisterTaskWithMaintenanceWindowRequest withTargets(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>.public RegisterTaskWithMaintenanceWindowRequest withTargets(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>.public void setTaskArn(String taskArn)
The ARN of the task to execute
taskArn
- The ARN of the task to executepublic String getTaskArn()
The ARN of the task to execute
public RegisterTaskWithMaintenanceWindowRequest withTaskArn(String taskArn)
The ARN of the task to execute
taskArn
- The ARN of the task to executepublic void setServiceRoleArn(String serviceRoleArn)
The role that should be assumed when executing the task.
serviceRoleArn
- The role that should be assumed when executing the task.public String getServiceRoleArn()
The role that should be assumed when executing the task.
public RegisterTaskWithMaintenanceWindowRequest withServiceRoleArn(String serviceRoleArn)
The role that should be assumed when executing the task.
serviceRoleArn
- The role that should be assumed when executing the task.public void setTaskType(String taskType)
The type of task being registered.
taskType
- The type of task being registered.MaintenanceWindowTaskType
public String getTaskType()
The type of task being registered.
MaintenanceWindowTaskType
public RegisterTaskWithMaintenanceWindowRequest withTaskType(String taskType)
The type of task being registered.
taskType
- The type of task being registered.MaintenanceWindowTaskType
public void setTaskType(MaintenanceWindowTaskType taskType)
The type of task being registered.
taskType
- The type of task being registered.MaintenanceWindowTaskType
public RegisterTaskWithMaintenanceWindowRequest withTaskType(MaintenanceWindowTaskType taskType)
The type of task being registered.
taskType
- The type of task being registered.MaintenanceWindowTaskType
public Map<String,MaintenanceWindowTaskParameterValueExpression> getTaskParameters()
The parameters that should be passed to the task when it is executed.
public void setTaskParameters(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.public RegisterTaskWithMaintenanceWindowRequest withTaskParameters(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.public RegisterTaskWithMaintenanceWindowRequest addTaskParametersEntry(String key, MaintenanceWindowTaskParameterValueExpression value)
public RegisterTaskWithMaintenanceWindowRequest 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 RegisterTaskWithMaintenanceWindowRequest 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 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.public Integer getPriority()
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 RegisterTaskWithMaintenanceWindowRequest withPriority(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.public void setMaxConcurrency(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.public String getMaxConcurrency()
The maximum number of targets this task can be run for in parallel.
public RegisterTaskWithMaintenanceWindowRequest withMaxConcurrency(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.public void setMaxErrors(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.public String getMaxErrors()
The maximum number of errors allowed before this task stops being scheduled.
public RegisterTaskWithMaintenanceWindowRequest withMaxErrors(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.public void setLoggingInfo(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.public LoggingInfo getLoggingInfo()
A structure containing information about an Amazon S3 bucket to write instance-level logs to.
public RegisterTaskWithMaintenanceWindowRequest withLoggingInfo(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.public void setName(String name)
An optional name for the task.
name
- An optional name for the task.public String getName()
An optional name for the task.
public RegisterTaskWithMaintenanceWindowRequest withName(String name)
An optional name for the task.
name
- An optional name for the task.public void setDescription(String description)
An optional description for the task.
description
- An optional description for the task.public String getDescription()
An optional description for the task.
public RegisterTaskWithMaintenanceWindowRequest withDescription(String description)
An optional description for the task.
description
- An optional description for the task.public void setClientToken(String clientToken)
User-provided idempotency token.
clientToken
- User-provided idempotency token.public String getClientToken()
User-provided idempotency token.
public RegisterTaskWithMaintenanceWindowRequest withClientToken(String clientToken)
User-provided idempotency token.
clientToken
- User-provided idempotency token.public String toString()
toString
in class Object
Object.toString()
public RegisterTaskWithMaintenanceWindowRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.