@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)
Add a single TaskParameters entry
|
GetMaintenanceWindowTaskResult |
clearTaskParametersEntries()
Removes all the entries added into TaskParameters.
|
GetMaintenanceWindowTaskResult |
clone() |
boolean |
equals(Object obj) |
AlarmConfiguration |
getAlarmConfiguration()
The details for the CloudWatch alarm you applied to your maintenance window task.
|
String |
getCutoffBehavior()
The action to take on tasks when the maintenance window cutoff time is reached.
|
String |
getDescription()
The retrieved task description.
|
LoggingInfo |
getLoggingInfo()
The location in Amazon Simple Storage Service (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 Amazon Resource Name (ARN) of the Identity and Access Management (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 |
setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
The details for the CloudWatch alarm you applied to your maintenance window task.
|
void |
setCutoffBehavior(String cutoffBehavior)
The action to take on tasks when the maintenance window cutoff time is reached.
|
void |
setDescription(String description)
The retrieved task description.
|
void |
setLoggingInfo(LoggingInfo loggingInfo)
The location in Amazon Simple Storage Service (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 Amazon Resource Name (ARN) of the Identity and Access Management (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 |
withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
The details for the CloudWatch alarm you applied to your maintenance window task.
|
GetMaintenanceWindowTaskResult |
withCutoffBehavior(MaintenanceWindowTaskCutoffBehavior cutoffBehavior)
The action to take on tasks when the maintenance window cutoff time is reached.
|
GetMaintenanceWindowTaskResult |
withCutoffBehavior(String cutoffBehavior)
The action to take on tasks when the maintenance window cutoff time is reached.
|
GetMaintenanceWindowTaskResult |
withDescription(String description)
The retrieved task description.
|
GetMaintenanceWindowTaskResult |
withLoggingInfo(LoggingInfo loggingInfo)
The location in Amazon Simple Storage Service (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 Amazon Resource Name (ARN) of the Identity and Access Management (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 value of TaskArn
is the SSM document name/ARN. For LAMBDA
tasks, the value
is the function name/ARN. For STEP_FUNCTIONS
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 value of TaskArn
is the SSM document name/ARN. For LAMBDA
tasks,
the value is the function name/ARN. For STEP_FUNCTIONS
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 value of TaskArn
is the SSM document name/ARN. For LAMBDA
tasks, the value
is the function name/ARN. For STEP_FUNCTIONS
tasks, the value is the state machine ARN.
RUN_COMMAND
and
AUTOMATION
task types, the value of TaskArn
is the SSM document name/ARN. For
LAMBDA
tasks, the value is the function name/ARN. For STEP_FUNCTIONS
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 value of TaskArn
is the SSM document name/ARN. For LAMBDA
tasks, the value
is the function name/ARN. For STEP_FUNCTIONS
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 value of TaskArn
is the SSM document name/ARN. For LAMBDA
tasks,
the value is the function name/ARN. For STEP_FUNCTIONS
tasks, the value is the state machine
ARN.public void setServiceRoleArn(String serviceRoleArn)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
serviceRoleArn
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish
Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.public String getServiceRoleArn()
The Amazon Resource Name (ARN) of the Identity and Access Management (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 Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
serviceRoleArn
- The Amazon Resource Name (ARN) of the Identity and Access Management (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.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the
system inserts a placeholder value of 1
, which may be reported in the response to this command. This
value doesn't affect the running of your task and can be ignored.
maxConcurrency
- The maximum number of targets allowed to run this task in parallel.
For maintenance window tasks without a target specified, you can't supply a value for this option.
Instead, the system inserts a placeholder value of 1
, which may be reported in the response
to this command. This value doesn't affect the running of your task and can be ignored.
public String getMaxConcurrency()
The maximum number of targets allowed to run this task in parallel.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the
system inserts a placeholder value of 1
, which may be reported in the response to this command. This
value doesn't affect the running of your task and can be ignored.
For maintenance window tasks without a target specified, you can't supply a value for this option.
Instead, the system inserts a placeholder value of 1
, which may be reported in the response
to this command. This value doesn't affect the running of your task and can be ignored.
public GetMaintenanceWindowTaskResult withMaxConcurrency(String maxConcurrency)
The maximum number of targets allowed to run this task in parallel.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the
system inserts a placeholder value of 1
, which may be reported in the response to this command. This
value doesn't affect the running of your task and can be ignored.
maxConcurrency
- The maximum number of targets allowed to run this task in parallel.
For maintenance window tasks without a target specified, you can't supply a value for this option.
Instead, the system inserts a placeholder value of 1
, which may be reported in the response
to this command. This value doesn't affect the running of your task and can be ignored.
public void setMaxErrors(String maxErrors)
The maximum number of errors allowed before the task stops being scheduled.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the
system inserts a placeholder value of 1
, which may be reported in the response to this command. This
value doesn't affect the running of your task and can be ignored.
maxErrors
- The maximum number of errors allowed before the task stops being scheduled.
For maintenance window tasks without a target specified, you can't supply a value for this option.
Instead, the system inserts a placeholder value of 1
, which may be reported in the response
to this command. This value doesn't affect the running of your task and can be ignored.
public String getMaxErrors()
The maximum number of errors allowed before the task stops being scheduled.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the
system inserts a placeholder value of 1
, which may be reported in the response to this command. This
value doesn't affect the running of your task and can be ignored.
For maintenance window tasks without a target specified, you can't supply a value for this option.
Instead, the system inserts a placeholder value of 1
, which may be reported in the response
to this command. This value doesn't affect the running of your task and can be ignored.
public GetMaintenanceWindowTaskResult withMaxErrors(String maxErrors)
The maximum number of errors allowed before the task stops being scheduled.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the
system inserts a placeholder value of 1
, which may be reported in the response to this command. This
value doesn't affect the running of your task and can be ignored.
maxErrors
- The maximum number of errors allowed before the task stops being scheduled.
For maintenance window tasks without a target specified, you can't supply a value for this option.
Instead, the system inserts a placeholder value of 1
, which may be reported in the response
to this command. This value doesn't affect the running of your task and can be ignored.
public void setLoggingInfo(LoggingInfo loggingInfo)
The location in Amazon Simple Storage Service (Amazon S3) where the task results are logged.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to
contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager
handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
loggingInfo
- The location in Amazon Simple Storage Service (Amazon S3) where the task results are logged.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3)
bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Amazon Web
Services Systems Manager handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
public LoggingInfo getLoggingInfo()
The location in Amazon Simple Storage Service (Amazon S3) where the task results are logged.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to
contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager
handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3)
bucket to contain logs, instead use the OutputS3BucketName
and
OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For
information about how Amazon Web Services Systems Manager handles these options for the supported
maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
public GetMaintenanceWindowTaskResult withLoggingInfo(LoggingInfo loggingInfo)
The location in Amazon Simple Storage Service (Amazon S3) where the task results are logged.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to
contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager
handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
loggingInfo
- The location in Amazon Simple Storage Service (Amazon S3) where the task results are logged.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3)
bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Amazon Web
Services 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 void setCutoffBehavior(String cutoffBehavior)
The action to take on tasks when the maintenance window cutoff time is reached. CONTINUE_TASK
means
that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that
currently running task invocations continue, but no new task invocations are started. For Run Command tasks,
CANCEL_TASK
means the system attempts to stop the task by sending a CancelCommand
operation.
cutoffBehavior
- The action to take on tasks when the maintenance window cutoff time is reached. CONTINUE_TASK
means that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that currently running task invocations continue, but no new task invocations are started. For Run
Command tasks, CANCEL_TASK
means the system attempts to stop the task by sending a
CancelCommand
operation.MaintenanceWindowTaskCutoffBehavior
public String getCutoffBehavior()
The action to take on tasks when the maintenance window cutoff time is reached. CONTINUE_TASK
means
that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that
currently running task invocations continue, but no new task invocations are started. For Run Command tasks,
CANCEL_TASK
means the system attempts to stop the task by sending a CancelCommand
operation.
CONTINUE_TASK
means that tasks continue to run. For Automation, Lambda, Step Functions
tasks, CANCEL_TASK
means that currently running task invocations continue, but no new task
invocations are started. For Run Command tasks, CANCEL_TASK
means the system attempts to
stop the task by sending a CancelCommand
operation.MaintenanceWindowTaskCutoffBehavior
public GetMaintenanceWindowTaskResult withCutoffBehavior(String cutoffBehavior)
The action to take on tasks when the maintenance window cutoff time is reached. CONTINUE_TASK
means
that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that
currently running task invocations continue, but no new task invocations are started. For Run Command tasks,
CANCEL_TASK
means the system attempts to stop the task by sending a CancelCommand
operation.
cutoffBehavior
- The action to take on tasks when the maintenance window cutoff time is reached. CONTINUE_TASK
means that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that currently running task invocations continue, but no new task invocations are started. For Run
Command tasks, CANCEL_TASK
means the system attempts to stop the task by sending a
CancelCommand
operation.MaintenanceWindowTaskCutoffBehavior
public GetMaintenanceWindowTaskResult withCutoffBehavior(MaintenanceWindowTaskCutoffBehavior cutoffBehavior)
The action to take on tasks when the maintenance window cutoff time is reached. CONTINUE_TASK
means
that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that
currently running task invocations continue, but no new task invocations are started. For Run Command tasks,
CANCEL_TASK
means the system attempts to stop the task by sending a CancelCommand
operation.
cutoffBehavior
- The action to take on tasks when the maintenance window cutoff time is reached. CONTINUE_TASK
means that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that currently running task invocations continue, but no new task invocations are started. For Run
Command tasks, CANCEL_TASK
means the system attempts to stop the task by sending a
CancelCommand
operation.MaintenanceWindowTaskCutoffBehavior
public void setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
The details for the CloudWatch alarm you applied to your maintenance window task.
alarmConfiguration
- The details for the CloudWatch alarm you applied to your maintenance window task.public AlarmConfiguration getAlarmConfiguration()
The details for the CloudWatch alarm you applied to your maintenance window task.
public GetMaintenanceWindowTaskResult withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
The details for the CloudWatch alarm you applied to your maintenance window task.
alarmConfiguration
- The details for the CloudWatch alarm you applied to your maintenance window task.public String toString()
toString
in class Object
Object.toString()
public GetMaintenanceWindowTaskResult clone()