public class DetectMitigationActionExecution
extends java.lang.Object
implements java.io.Serializable
Describes which mitigation actions should be executed.
Constructor and Description |
---|
DetectMitigationActionExecution() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActionName()
The friendly name that uniquely identifies the mitigation action.
|
java.lang.String |
getErrorCode()
The error code of a mitigation action.
|
java.util.Date |
getExecutionEndDate()
The date a mitigation action ended.
|
java.util.Date |
getExecutionStartDate()
The date a mitigation action was started.
|
java.lang.String |
getMessage()
The message of a mitigation action.
|
java.lang.String |
getStatus()
The status of a mitigation action.
|
java.lang.String |
getTaskId()
The unique identifier of the task.
|
java.lang.String |
getThingName()
The name of the thing.
|
java.lang.String |
getViolationId()
The unique identifier of the violation.
|
int |
hashCode() |
void |
setActionName(java.lang.String actionName)
The friendly name that uniquely identifies the mitigation action.
|
void |
setErrorCode(java.lang.String errorCode)
The error code of a mitigation action.
|
void |
setExecutionEndDate(java.util.Date executionEndDate)
The date a mitigation action ended.
|
void |
setExecutionStartDate(java.util.Date executionStartDate)
The date a mitigation action was started.
|
void |
setMessage(java.lang.String message)
The message of a mitigation action.
|
void |
setStatus(DetectMitigationActionExecutionStatus status)
The status of a mitigation action.
|
void |
setStatus(java.lang.String status)
The status of a mitigation action.
|
void |
setTaskId(java.lang.String taskId)
The unique identifier of the task.
|
void |
setThingName(java.lang.String thingName)
The name of the thing.
|
void |
setViolationId(java.lang.String violationId)
The unique identifier of the violation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectMitigationActionExecution |
withActionName(java.lang.String actionName)
The friendly name that uniquely identifies the mitigation action.
|
DetectMitigationActionExecution |
withErrorCode(java.lang.String errorCode)
The error code of a mitigation action.
|
DetectMitigationActionExecution |
withExecutionEndDate(java.util.Date executionEndDate)
The date a mitigation action ended.
|
DetectMitigationActionExecution |
withExecutionStartDate(java.util.Date executionStartDate)
The date a mitigation action was started.
|
DetectMitigationActionExecution |
withMessage(java.lang.String message)
The message of a mitigation action.
|
DetectMitigationActionExecution |
withStatus(DetectMitigationActionExecutionStatus status)
The status of a mitigation action.
|
DetectMitigationActionExecution |
withStatus(java.lang.String status)
The status of a mitigation action.
|
DetectMitigationActionExecution |
withTaskId(java.lang.String taskId)
The unique identifier of the task.
|
DetectMitigationActionExecution |
withThingName(java.lang.String thingName)
The name of the thing.
|
DetectMitigationActionExecution |
withViolationId(java.lang.String violationId)
The unique identifier of the violation.
|
public java.lang.String getTaskId()
The unique identifier of the task.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The unique identifier of the task.
public void setTaskId(java.lang.String taskId)
The unique identifier of the task.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
taskId
- The unique identifier of the task.
public DetectMitigationActionExecution withTaskId(java.lang.String taskId)
The unique identifier of the task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
taskId
- The unique identifier of the task.
public java.lang.String getViolationId()
The unique identifier of the violation.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9\-]+
The unique identifier of the violation.
public void setViolationId(java.lang.String violationId)
The unique identifier of the violation.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9\-]+
violationId
- The unique identifier of the violation.
public DetectMitigationActionExecution withViolationId(java.lang.String violationId)
The unique identifier of the violation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9\-]+
violationId
- The unique identifier of the violation.
public java.lang.String getActionName()
The friendly name that uniquely identifies the mitigation action.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
The friendly name that uniquely identifies the mitigation action.
public void setActionName(java.lang.String actionName)
The friendly name that uniquely identifies the mitigation action.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
actionName
- The friendly name that uniquely identifies the mitigation action.
public DetectMitigationActionExecution withActionName(java.lang.String actionName)
The friendly name that uniquely identifies the mitigation action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
actionName
- The friendly name that uniquely identifies the mitigation action.
public java.lang.String getThingName()
The name of the thing.
Constraints:
Length: 1 - 128
The name of the thing.
public void setThingName(java.lang.String thingName)
The name of the thing.
Constraints:
Length: 1 - 128
thingName
- The name of the thing.
public DetectMitigationActionExecution withThingName(java.lang.String thingName)
The name of the thing.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
thingName
- The name of the thing.
public java.util.Date getExecutionStartDate()
The date a mitigation action was started.
The date a mitigation action was started.
public void setExecutionStartDate(java.util.Date executionStartDate)
The date a mitigation action was started.
executionStartDate
- The date a mitigation action was started.
public DetectMitigationActionExecution withExecutionStartDate(java.util.Date executionStartDate)
The date a mitigation action was started.
Returns a reference to this object so that method calls can be chained together.
executionStartDate
- The date a mitigation action was started.
public java.util.Date getExecutionEndDate()
The date a mitigation action ended.
The date a mitigation action ended.
public void setExecutionEndDate(java.util.Date executionEndDate)
The date a mitigation action ended.
executionEndDate
- The date a mitigation action ended.
public DetectMitigationActionExecution withExecutionEndDate(java.util.Date executionEndDate)
The date a mitigation action ended.
Returns a reference to this object so that method calls can be chained together.
executionEndDate
- The date a mitigation action ended.
public java.lang.String getStatus()
The status of a mitigation action.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, SKIPPED
The status of a mitigation action.
DetectMitigationActionExecutionStatus
public void setStatus(java.lang.String status)
The status of a mitigation action.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, SKIPPED
status
- The status of a mitigation action.
DetectMitigationActionExecutionStatus
public DetectMitigationActionExecution withStatus(java.lang.String status)
The status of a mitigation action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, SKIPPED
status
- The status of a mitigation action.
DetectMitigationActionExecutionStatus
public void setStatus(DetectMitigationActionExecutionStatus status)
The status of a mitigation action.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, SKIPPED
status
- The status of a mitigation action.
DetectMitigationActionExecutionStatus
public DetectMitigationActionExecution withStatus(DetectMitigationActionExecutionStatus status)
The status of a mitigation action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, SKIPPED
status
- The status of a mitigation action.
DetectMitigationActionExecutionStatus
public java.lang.String getErrorCode()
The error code of a mitigation action.
The error code of a mitigation action.
public void setErrorCode(java.lang.String errorCode)
The error code of a mitigation action.
errorCode
- The error code of a mitigation action.
public DetectMitigationActionExecution withErrorCode(java.lang.String errorCode)
The error code of a mitigation action.
Returns a reference to this object so that method calls can be chained together.
errorCode
- The error code of a mitigation action.
public java.lang.String getMessage()
The message of a mitigation action.
Constraints:
Length: - 2048
The message of a mitigation action.
public void setMessage(java.lang.String message)
The message of a mitigation action.
Constraints:
Length: - 2048
message
- The message of a mitigation action.
public DetectMitigationActionExecution withMessage(java.lang.String message)
The message of a mitigation action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
message
- The message of a mitigation action.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.