@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMaintenanceWindowTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMaintenanceWindowTaskResult() |
Modifier and Type | Method and Description |
---|---|
GetMaintenanceWindowTaskResult |
addTaskParametersEntry(String key,
MaintenanceWindowTaskParameterValueExpression value) |
GetMaintenanceWindowTaskResult |
clearTaskParametersEntries()
Removes all the entries added into TaskParameters.
|
GetMaintenanceWindowTaskResult |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The retrieved task description.
|
LoggingInfo |
getLoggingInfo()
The location in Amazon S3 where the task results are logged.
|
String |
getMaxConcurrency()
The maximum number of targets allowed to run this task in parallel.
|
String |
getMaxErrors()
The maximum number of errors allowed before the task stops being scheduled.
|
String |
getName()
The retrieved task name.
|
Integer |
getPriority()
The priority of the task when it executes.
|
String |
getServiceRoleArn()
The IAM service role to assume during task execution.
|
List<Target> |
getTargets()
The targets where the task should execute.
|
String |
getTaskArn()
The resource that the task used during execution.
|
MaintenanceWindowTaskInvocationParameters |
getTaskInvocationParameters()
The parameters to pass to the task when it executes.
|
Map<String,MaintenanceWindowTaskParameterValueExpression> |
getTaskParameters()
The parameters to pass to the task when it executes.
|
String |
getTaskType()
The type of task to execute.
|
String |
getWindowId()
The retrieved Maintenance Window ID.
|
String |
getWindowTaskId()
The retrieved Maintenance Window task ID.
|
int |
hashCode() |
void |
setDescription(String description)
The retrieved task description.
|
void |
setLoggingInfo(LoggingInfo loggingInfo)
The location in Amazon S3 where the task results are logged.
|
void |
setMaxConcurrency(String maxConcurrency)
The maximum number of targets allowed to run this task in parallel.
|
void |
setMaxErrors(String maxErrors)
The maximum number of errors allowed before the task stops being scheduled.
|
void |
setName(String name)
The retrieved task name.
|
void |
setPriority(Integer priority)
The priority of the task when it executes.
|
void |
setServiceRoleArn(String serviceRoleArn)
The IAM service role to assume during task execution.
|
void |
setTargets(Collection<Target> targets)
The targets where the task should execute.
|
void |
setTaskArn(String taskArn)
The resource that the task used during execution.
|
void |
setTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters to pass to the task when it executes.
|
void |
setTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to pass to the task when it executes.
|
void |
setTaskType(String taskType)
The type of task to execute.
|
void |
setWindowId(String windowId)
The retrieved Maintenance Window ID.
|
void |
setWindowTaskId(String windowTaskId)
The retrieved Maintenance Window task ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetMaintenanceWindowTaskResult |
withDescription(String description)
The retrieved task description.
|
GetMaintenanceWindowTaskResult |
withLoggingInfo(LoggingInfo loggingInfo)
The location in Amazon S3 where the task results are logged.
|
GetMaintenanceWindowTaskResult |
withMaxConcurrency(String maxConcurrency)
The maximum number of targets allowed to run this task in parallel.
|
GetMaintenanceWindowTaskResult |
withMaxErrors(String maxErrors)
The maximum number of errors allowed before the task stops being scheduled.
|
GetMaintenanceWindowTaskResult |
withName(String name)
The retrieved task name.
|
GetMaintenanceWindowTaskResult |
withPriority(Integer priority)
The priority of the task when it executes.
|
GetMaintenanceWindowTaskResult |
withServiceRoleArn(String serviceRoleArn)
The IAM service role to assume during task execution.
|
GetMaintenanceWindowTaskResult |
withTargets(Collection<Target> targets)
The targets where the task should execute.
|
GetMaintenanceWindowTaskResult |
withTargets(Target... targets)
The targets where the task should execute.
|
GetMaintenanceWindowTaskResult |
withTaskArn(String taskArn)
The resource that the task used during execution.
|
GetMaintenanceWindowTaskResult |
withTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters to pass to the task when it executes.
|
GetMaintenanceWindowTaskResult |
withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to pass to the task when it executes.
|
GetMaintenanceWindowTaskResult |
withTaskType(MaintenanceWindowTaskType taskType)
The type of task to execute.
|
GetMaintenanceWindowTaskResult |
withTaskType(String taskType)
The type of task to execute.
|
GetMaintenanceWindowTaskResult |
withWindowId(String windowId)
The retrieved Maintenance Window ID.
|
GetMaintenanceWindowTaskResult |
withWindowTaskId(String windowTaskId)
The retrieved Maintenance Window task ID.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setWindowId(String windowId)
The retrieved Maintenance Window ID.
windowId
- The retrieved Maintenance Window ID.public String getWindowId()
The retrieved Maintenance Window ID.
public GetMaintenanceWindowTaskResult withWindowId(String windowId)
The retrieved Maintenance Window ID.
windowId
- The retrieved Maintenance Window ID.public void setWindowTaskId(String windowTaskId)
The retrieved Maintenance Window task ID.
windowTaskId
- The retrieved Maintenance Window task ID.public String getWindowTaskId()
The retrieved Maintenance Window task ID.
public GetMaintenanceWindowTaskResult withWindowTaskId(String windowTaskId)
The retrieved Maintenance Window task ID.
windowTaskId
- The retrieved Maintenance Window task ID.public List<Target> getTargets()
The targets where the task should execute.
public void setTargets(Collection<Target> targets)
The targets where the task should execute.
targets
- The targets where the task should execute.public GetMaintenanceWindowTaskResult withTargets(Target... targets)
The targets where the task should execute.
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 where the task should execute.public GetMaintenanceWindowTaskResult withTargets(Collection<Target> targets)
The targets where the task should execute.
targets
- The targets where the task should execute.public void setTaskArn(String taskArn)
The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn is the Systems Manager Document name/ARN. For LAMBDA tasks, the value is the function name/ARN. For STEP_FUNCTION tasks, the value is the state machine ARN.
taskArn
- The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn
is the Systems Manager Document name/ARN. For LAMBDA tasks, the value is the function name/ARN. For
STEP_FUNCTION tasks, the value is the state machine ARN.public String getTaskArn()
The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn is the Systems Manager Document name/ARN. For LAMBDA tasks, the value is the function name/ARN. For STEP_FUNCTION tasks, the value is the state machine ARN.
public GetMaintenanceWindowTaskResult withTaskArn(String taskArn)
The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn is the Systems Manager Document name/ARN. For LAMBDA tasks, the value is the function name/ARN. For STEP_FUNCTION tasks, the value is the state machine ARN.
taskArn
- The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn
is the Systems Manager Document name/ARN. For LAMBDA tasks, the value is the function name/ARN. For
STEP_FUNCTION tasks, the value is the state machine ARN.public void setServiceRoleArn(String serviceRoleArn)
The IAM service role to assume during task execution.
serviceRoleArn
- The IAM service role to assume during task execution.public String getServiceRoleArn()
The IAM service role to assume during task execution.
public GetMaintenanceWindowTaskResult withServiceRoleArn(String serviceRoleArn)
The IAM service role to assume during task execution.
serviceRoleArn
- The IAM service role to assume during task execution.public void setTaskType(String taskType)
The type of task to execute.
taskType
- The type of task to execute.MaintenanceWindowTaskType
public String getTaskType()
The type of task to execute.
MaintenanceWindowTaskType
public GetMaintenanceWindowTaskResult withTaskType(String taskType)
The type of task to execute.
taskType
- The type of task to execute.MaintenanceWindowTaskType
public GetMaintenanceWindowTaskResult withTaskType(MaintenanceWindowTaskType taskType)
The type of task to execute.
taskType
- The type of task to execute.MaintenanceWindowTaskType
public Map<String,MaintenanceWindowTaskParameterValueExpression> getTaskParameters()
The parameters to pass to the task when it executes.
public void setTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to pass to the task when it executes.
taskParameters
- The parameters to pass to the task when it executes.public GetMaintenanceWindowTaskResult withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to pass to the task when it executes.
taskParameters
- The parameters to pass to the task when it executes.public GetMaintenanceWindowTaskResult addTaskParametersEntry(String key, MaintenanceWindowTaskParameterValueExpression value)
public GetMaintenanceWindowTaskResult clearTaskParametersEntries()
public void setTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters to pass to the task when it executes.
taskInvocationParameters
- The parameters to pass to the task when it executes.public MaintenanceWindowTaskInvocationParameters getTaskInvocationParameters()
The parameters to pass to the task when it executes.
public GetMaintenanceWindowTaskResult withTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters to pass to the task when it executes.
taskInvocationParameters
- The parameters to pass to the task when it executes.public void setPriority(Integer priority)
The priority of the task when it executes. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
priority
- The priority of the task when it executes. The lower the number, the higher the priority. Tasks that have
the same priority are scheduled in parallel.public Integer getPriority()
The priority of the task when it executes. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
public GetMaintenanceWindowTaskResult withPriority(Integer priority)
The priority of the task when it executes. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
priority
- The priority of the task when it executes. The lower the number, the higher the priority. Tasks that have
the same priority are scheduled in parallel.public void setMaxConcurrency(String maxConcurrency)
The maximum number of targets allowed to run this task in parallel.
maxConcurrency
- The maximum number of targets allowed to run this task in parallel.public String getMaxConcurrency()
The maximum number of targets allowed to run this task in parallel.
public GetMaintenanceWindowTaskResult withMaxConcurrency(String maxConcurrency)
The maximum number of targets allowed to run this task in parallel.
maxConcurrency
- The maximum number of targets allowed to run this task in parallel.public void setMaxErrors(String maxErrors)
The maximum number of errors allowed before the task stops being scheduled.
maxErrors
- The maximum number of errors allowed before the task stops being scheduled.public String getMaxErrors()
The maximum number of errors allowed before the task stops being scheduled.
public GetMaintenanceWindowTaskResult withMaxErrors(String maxErrors)
The maximum number of errors allowed before the task stops being scheduled.
maxErrors
- The maximum number of errors allowed before the task stops being scheduled.public void setLoggingInfo(LoggingInfo loggingInfo)
The location in Amazon S3 where the task results are logged.
loggingInfo
- The location in Amazon S3 where the task results are logged.public LoggingInfo getLoggingInfo()
The location in Amazon S3 where the task results are logged.
public GetMaintenanceWindowTaskResult withLoggingInfo(LoggingInfo loggingInfo)
The location in Amazon S3 where the task results are logged.
loggingInfo
- The location in Amazon S3 where the task results are logged.public void setName(String name)
The retrieved task name.
name
- The retrieved task name.public String getName()
The retrieved task name.
public GetMaintenanceWindowTaskResult withName(String name)
The retrieved task name.
name
- The retrieved task name.public void setDescription(String description)
The retrieved task description.
description
- The retrieved task description.public String getDescription()
The retrieved task description.
public GetMaintenanceWindowTaskResult withDescription(String description)
The retrieved task description.
description
- The retrieved task description.public String toString()
toString
in class Object
Object.toString()
public GetMaintenanceWindowTaskResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.