@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 runs.
|
String |
getServiceRoleArn()
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications
for maintenance window Run Command tasks.
|
List<Target> |
getTargets()
The targets where the task should run.
|
String |
getTaskArn()
The resource that the task used during execution.
|
MaintenanceWindowTaskInvocationParameters |
getTaskInvocationParameters()
The parameters to pass to the task when it runs.
|
Map<String,MaintenanceWindowTaskParameterValueExpression> |
getTaskParameters()
The parameters to pass to the task when it runs.
|
String |
getTaskType()
The type of task to run.
|
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 runs.
|
void |
setServiceRoleArn(String serviceRoleArn)
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications
for maintenance window Run Command tasks.
|
void |
setTargets(Collection<Target> targets)
The targets where the task should run.
|
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 runs.
|
void |
setTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to pass to the task when it runs.
|
void |
setTaskType(String taskType)
The type of task to run.
|
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.
|
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 runs.
|
GetMaintenanceWindowTaskResult |
withServiceRoleArn(String serviceRoleArn)
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications
for maintenance window Run Command tasks.
|
GetMaintenanceWindowTaskResult |
withTargets(Collection<Target> targets)
The targets where the task should run.
|
GetMaintenanceWindowTaskResult |
withTargets(Target... targets)
The targets where the task should run.
|
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 runs.
|
GetMaintenanceWindowTaskResult |
withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to pass to the task when it runs.
|
GetMaintenanceWindowTaskResult |
withTaskType(MaintenanceWindowTaskType taskType)
The type of task to run.
|
GetMaintenanceWindowTaskResult |
withTaskType(String taskType)
The type of task to run.
|
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 run.
public void setTargets(Collection<Target> targets)
The targets where the task should run.
targets
- The targets where the task should run.public GetMaintenanceWindowTaskResult withTargets(Target... targets)
The targets where the task should run.
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 run.public GetMaintenanceWindowTaskResult withTargets(Collection<Target> targets)
The targets where the task should run.
targets
- The targets where the task should run.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 ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
serviceRoleArn
- The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS)
notifications for maintenance window Run Command tasks.public String getServiceRoleArn()
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
public GetMaintenanceWindowTaskResult withServiceRoleArn(String serviceRoleArn)
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
serviceRoleArn
- The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS)
notifications for maintenance window Run Command tasks.public void setTaskType(String taskType)
The type of task to run.
taskType
- The type of task to run.MaintenanceWindowTaskType
public String getTaskType()
The type of task to run.
MaintenanceWindowTaskType
public GetMaintenanceWindowTaskResult withTaskType(String taskType)
The type of task to run.
taskType
- The type of task to run.MaintenanceWindowTaskType
public GetMaintenanceWindowTaskResult withTaskType(MaintenanceWindowTaskType taskType)
The type of task to run.
taskType
- The type of task to run.MaintenanceWindowTaskType
public Map<String,MaintenanceWindowTaskParameterValueExpression> getTaskParameters()
The parameters to pass to the task when it runs.
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.
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.
public void setTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to pass to the task when it runs.
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.
taskParameters
- The parameters to pass to the task when it runs.
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.
public GetMaintenanceWindowTaskResult withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The parameters to pass to the task when it runs.
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.
taskParameters
- The parameters to pass to the task when it runs.
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.
public GetMaintenanceWindowTaskResult addTaskParametersEntry(String key, MaintenanceWindowTaskParameterValueExpression value)
public GetMaintenanceWindowTaskResult clearTaskParametersEntries()
public void setTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters to pass to the task when it runs.
taskInvocationParameters
- The parameters to pass to the task when it runs.public MaintenanceWindowTaskInvocationParameters getTaskInvocationParameters()
The parameters to pass to the task when it runs.
public GetMaintenanceWindowTaskResult withTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The parameters to pass to the task when it runs.
taskInvocationParameters
- The parameters to pass to the task when it runs.public void setPriority(Integer priority)
The priority of the task when it runs. 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 runs. 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 runs. 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 runs. 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 runs. 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
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 location in Amazon S3 where the task results are logged.
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 location in Amazon S3 where the task results are logged.
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 GetMaintenanceWindowTaskResult withLoggingInfo(LoggingInfo loggingInfo)
The location in Amazon S3 where the task results are logged.
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 location in Amazon S3 where the task results are logged.
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 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 © 2019. All rights reserved.