@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMaintenanceWindowExecutionTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMaintenanceWindowExecutionTaskResult() |
Modifier and Type | Method and Description |
---|---|
GetMaintenanceWindowExecutionTaskResult |
clone() |
boolean |
equals(Object obj) |
AlarmConfiguration |
getAlarmConfiguration()
The details for the CloudWatch alarm you applied to your maintenance window task.
|
Date |
getEndTime()
The time the task execution completed.
|
String |
getMaxConcurrency()
The defined maximum number of task executions that could be run in parallel.
|
String |
getMaxErrors()
The defined maximum number of task execution errors allowed before scheduling of the task execution would have
been stopped.
|
Integer |
getPriority()
The priority of the task.
|
String |
getServiceRole()
The role that was assumed when running the task.
|
Date |
getStartTime()
The time the task execution started.
|
String |
getStatus()
The status of the task.
|
String |
getStatusDetails()
The details explaining the status.
|
String |
getTaskArn()
The Amazon Resource Name (ARN) of the task that ran.
|
String |
getTaskExecutionId()
The ID of the specific task execution in the maintenance window task that was retrieved.
|
List<Map<String,MaintenanceWindowTaskParameterValueExpression>> |
getTaskParameters()
The parameters passed to the task when it was run.
|
List<AlarmStateInformation> |
getTriggeredAlarms()
The CloudWatch alarms that were invoked by the maintenance window task.
|
String |
getType()
The type of task that was run.
|
String |
getWindowExecutionId()
The ID of the maintenance window execution that includes the task.
|
int |
hashCode() |
void |
setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
The details for the CloudWatch alarm you applied to your maintenance window task.
|
void |
setEndTime(Date endTime)
The time the task execution completed.
|
void |
setMaxConcurrency(String maxConcurrency)
The defined maximum number of task executions that could be run in parallel.
|
void |
setMaxErrors(String maxErrors)
The defined maximum number of task execution errors allowed before scheduling of the task execution would have
been stopped.
|
void |
setPriority(Integer priority)
The priority of the task.
|
void |
setServiceRole(String serviceRole)
The role that was assumed when running the task.
|
void |
setStartTime(Date startTime)
The time the task execution started.
|
void |
setStatus(MaintenanceWindowExecutionStatus status)
The status of the task.
|
void |
setStatus(String status)
The status of the task.
|
void |
setStatusDetails(String statusDetails)
The details explaining the status.
|
void |
setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that ran.
|
void |
setTaskExecutionId(String taskExecutionId)
The ID of the specific task execution in the maintenance window task that was retrieved.
|
void |
setTaskParameters(Collection<Map<String,MaintenanceWindowTaskParameterValueExpression>> taskParameters)
The parameters passed to the task when it was run.
|
void |
setTriggeredAlarms(Collection<AlarmStateInformation> triggeredAlarms)
The CloudWatch alarms that were invoked by the maintenance window task.
|
void |
setType(MaintenanceWindowTaskType type)
The type of task that was run.
|
void |
setType(String type)
The type of task that was run.
|
void |
setWindowExecutionId(String windowExecutionId)
The ID of the maintenance window execution that includes the task.
|
String |
toString()
Returns a string representation of this object.
|
GetMaintenanceWindowExecutionTaskResult |
withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
The details for the CloudWatch alarm you applied to your maintenance window task.
|
GetMaintenanceWindowExecutionTaskResult |
withEndTime(Date endTime)
The time the task execution completed.
|
GetMaintenanceWindowExecutionTaskResult |
withMaxConcurrency(String maxConcurrency)
The defined maximum number of task executions that could be run in parallel.
|
GetMaintenanceWindowExecutionTaskResult |
withMaxErrors(String maxErrors)
The defined maximum number of task execution errors allowed before scheduling of the task execution would have
been stopped.
|
GetMaintenanceWindowExecutionTaskResult |
withPriority(Integer priority)
The priority of the task.
|
GetMaintenanceWindowExecutionTaskResult |
withServiceRole(String serviceRole)
The role that was assumed when running the task.
|
GetMaintenanceWindowExecutionTaskResult |
withStartTime(Date startTime)
The time the task execution started.
|
GetMaintenanceWindowExecutionTaskResult |
withStatus(MaintenanceWindowExecutionStatus status)
The status of the task.
|
GetMaintenanceWindowExecutionTaskResult |
withStatus(String status)
The status of the task.
|
GetMaintenanceWindowExecutionTaskResult |
withStatusDetails(String statusDetails)
The details explaining the status.
|
GetMaintenanceWindowExecutionTaskResult |
withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that ran.
|
GetMaintenanceWindowExecutionTaskResult |
withTaskExecutionId(String taskExecutionId)
The ID of the specific task execution in the maintenance window task that was retrieved.
|
GetMaintenanceWindowExecutionTaskResult |
withTaskParameters(Collection<Map<String,MaintenanceWindowTaskParameterValueExpression>> taskParameters)
The parameters passed to the task when it was run.
|
GetMaintenanceWindowExecutionTaskResult |
withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression>... taskParameters)
The parameters passed to the task when it was run.
|
GetMaintenanceWindowExecutionTaskResult |
withTriggeredAlarms(AlarmStateInformation... triggeredAlarms)
The CloudWatch alarms that were invoked by the maintenance window task.
|
GetMaintenanceWindowExecutionTaskResult |
withTriggeredAlarms(Collection<AlarmStateInformation> triggeredAlarms)
The CloudWatch alarms that were invoked by the maintenance window task.
|
GetMaintenanceWindowExecutionTaskResult |
withType(MaintenanceWindowTaskType type)
The type of task that was run.
|
GetMaintenanceWindowExecutionTaskResult |
withType(String type)
The type of task that was run.
|
GetMaintenanceWindowExecutionTaskResult |
withWindowExecutionId(String windowExecutionId)
The ID of the maintenance window execution that includes the task.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetMaintenanceWindowExecutionTaskResult()
public void setWindowExecutionId(String windowExecutionId)
The ID of the maintenance window execution that includes the task.
windowExecutionId
- The ID of the maintenance window execution that includes the task.public String getWindowExecutionId()
The ID of the maintenance window execution that includes the task.
public GetMaintenanceWindowExecutionTaskResult withWindowExecutionId(String windowExecutionId)
The ID of the maintenance window execution that includes the task.
windowExecutionId
- The ID of the maintenance window execution that includes the task.public void setTaskExecutionId(String taskExecutionId)
The ID of the specific task execution in the maintenance window task that was retrieved.
taskExecutionId
- The ID of the specific task execution in the maintenance window task that was retrieved.public String getTaskExecutionId()
The ID of the specific task execution in the maintenance window task that was retrieved.
public GetMaintenanceWindowExecutionTaskResult withTaskExecutionId(String taskExecutionId)
The ID of the specific task execution in the maintenance window task that was retrieved.
taskExecutionId
- The ID of the specific task execution in the maintenance window task that was retrieved.public void setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that ran.
taskArn
- The Amazon Resource Name (ARN) of the task that ran.public String getTaskArn()
The Amazon Resource Name (ARN) of the task that ran.
public GetMaintenanceWindowExecutionTaskResult withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that ran.
taskArn
- The Amazon Resource Name (ARN) of the task that ran.public void setServiceRole(String serviceRole)
The role that was assumed when running the task.
serviceRole
- The role that was assumed when running the task.public String getServiceRole()
The role that was assumed when running the task.
public GetMaintenanceWindowExecutionTaskResult withServiceRole(String serviceRole)
The role that was assumed when running the task.
serviceRole
- The role that was assumed when running the task.public void setType(String type)
The type of task that was run.
type
- The type of task that was run.MaintenanceWindowTaskType
public String getType()
The type of task that was run.
MaintenanceWindowTaskType
public GetMaintenanceWindowExecutionTaskResult withType(String type)
The type of task that was run.
type
- The type of task that was run.MaintenanceWindowTaskType
public void setType(MaintenanceWindowTaskType type)
The type of task that was run.
type
- The type of task that was run.MaintenanceWindowTaskType
public GetMaintenanceWindowExecutionTaskResult withType(MaintenanceWindowTaskType type)
The type of task that was run.
type
- The type of task that was run.MaintenanceWindowTaskType
public List<Map<String,MaintenanceWindowTaskParameterValueExpression>> getTaskParameters()
The parameters passed to the task when it was run.
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.
The map has the following format:
Key
: string, between 1 and 255 characters
Value
: an array of strings, each between 1 and 255 characters
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.
The map has the following format:
Key
: string, between 1 and 255 characters
Value
: an array of strings, each between 1 and 255 characters
public void setTaskParameters(Collection<Map<String,MaintenanceWindowTaskParameterValueExpression>> taskParameters)
The parameters passed to the task when it was run.
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.
The map has the following format:
Key
: string, between 1 and 255 characters
Value
: an array of strings, each between 1 and 255 characters
taskParameters
- The parameters passed to the task when it was run.
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.
The map has the following format:
Key
: string, between 1 and 255 characters
Value
: an array of strings, each between 1 and 255 characters
public GetMaintenanceWindowExecutionTaskResult withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression>... taskParameters)
The parameters passed to the task when it was run.
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.
The map has the following format:
Key
: string, between 1 and 255 characters
Value
: an array of strings, each between 1 and 255 characters
NOTE: This method appends the values to the existing list (if any). Use
setTaskParameters(java.util.Collection)
or withTaskParameters(java.util.Collection)
if you want
to override the existing values.
taskParameters
- The parameters passed to the task when it was run.
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.
The map has the following format:
Key
: string, between 1 and 255 characters
Value
: an array of strings, each between 1 and 255 characters
public GetMaintenanceWindowExecutionTaskResult withTaskParameters(Collection<Map<String,MaintenanceWindowTaskParameterValueExpression>> taskParameters)
The parameters passed to the task when it was run.
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.
The map has the following format:
Key
: string, between 1 and 255 characters
Value
: an array of strings, each between 1 and 255 characters
taskParameters
- The parameters passed to the task when it was run.
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.
The map has the following format:
Key
: string, between 1 and 255 characters
Value
: an array of strings, each between 1 and 255 characters
public void setPriority(Integer priority)
The priority of the task.
priority
- The priority of the task.public Integer getPriority()
The priority of the task.
public GetMaintenanceWindowExecutionTaskResult withPriority(Integer priority)
The priority of the task.
priority
- The priority of the task.public void setMaxConcurrency(String maxConcurrency)
The defined maximum number of task executions that could be run in parallel.
maxConcurrency
- The defined maximum number of task executions that could be run in parallel.public String getMaxConcurrency()
The defined maximum number of task executions that could be run in parallel.
public GetMaintenanceWindowExecutionTaskResult withMaxConcurrency(String maxConcurrency)
The defined maximum number of task executions that could be run in parallel.
maxConcurrency
- The defined maximum number of task executions that could be run in parallel.public void setMaxErrors(String maxErrors)
The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.
maxErrors
- The defined maximum number of task execution errors allowed before scheduling of the task execution would
have been stopped.public String getMaxErrors()
The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.
public GetMaintenanceWindowExecutionTaskResult withMaxErrors(String maxErrors)
The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.
maxErrors
- The defined maximum number of task execution errors allowed before scheduling of the task execution would
have been stopped.public void setStatus(String status)
The status of the task.
status
- The status of the task.MaintenanceWindowExecutionStatus
public String getStatus()
The status of the task.
MaintenanceWindowExecutionStatus
public GetMaintenanceWindowExecutionTaskResult withStatus(String status)
The status of the task.
status
- The status of the task.MaintenanceWindowExecutionStatus
public void setStatus(MaintenanceWindowExecutionStatus status)
The status of the task.
status
- The status of the task.MaintenanceWindowExecutionStatus
public GetMaintenanceWindowExecutionTaskResult withStatus(MaintenanceWindowExecutionStatus status)
The status of the task.
status
- The status of the task.MaintenanceWindowExecutionStatus
public void setStatusDetails(String statusDetails)
The details explaining the status. Not available for all status values.
statusDetails
- The details explaining the status. Not available for all status values.public String getStatusDetails()
The details explaining the status. Not available for all status values.
public GetMaintenanceWindowExecutionTaskResult withStatusDetails(String statusDetails)
The details explaining the status. Not available for all status values.
statusDetails
- The details explaining the status. Not available for all status values.public void setStartTime(Date startTime)
The time the task execution started.
startTime
- The time the task execution started.public Date getStartTime()
The time the task execution started.
public GetMaintenanceWindowExecutionTaskResult withStartTime(Date startTime)
The time the task execution started.
startTime
- The time the task execution started.public void setEndTime(Date endTime)
The time the task execution completed.
endTime
- The time the task execution completed.public Date getEndTime()
The time the task execution completed.
public GetMaintenanceWindowExecutionTaskResult withEndTime(Date endTime)
The time the task execution completed.
endTime
- The time the task execution completed.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 GetMaintenanceWindowExecutionTaskResult 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 List<AlarmStateInformation> getTriggeredAlarms()
The CloudWatch alarms that were invoked by the maintenance window task.
public void setTriggeredAlarms(Collection<AlarmStateInformation> triggeredAlarms)
The CloudWatch alarms that were invoked by the maintenance window task.
triggeredAlarms
- The CloudWatch alarms that were invoked by the maintenance window task.public GetMaintenanceWindowExecutionTaskResult withTriggeredAlarms(AlarmStateInformation... triggeredAlarms)
The CloudWatch alarms that were invoked by the maintenance window task.
NOTE: This method appends the values to the existing list (if any). Use
setTriggeredAlarms(java.util.Collection)
or withTriggeredAlarms(java.util.Collection)
if you
want to override the existing values.
triggeredAlarms
- The CloudWatch alarms that were invoked by the maintenance window task.public GetMaintenanceWindowExecutionTaskResult withTriggeredAlarms(Collection<AlarmStateInformation> triggeredAlarms)
The CloudWatch alarms that were invoked by the maintenance window task.
triggeredAlarms
- The CloudWatch alarms that were invoked by the maintenance window task.public String toString()
toString
in class Object
Object.toString()
public GetMaintenanceWindowExecutionTaskResult clone()