@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectMitigationActionExecution extends Object implements Serializable, Cloneable, StructuredPojo
Describes which mitigation actions should be executed.
Constructor and Description |
---|
DetectMitigationActionExecution() |
Modifier and Type | Method and Description |
---|---|
DetectMitigationActionExecution |
clone() |
boolean |
equals(Object obj) |
String |
getActionName()
The friendly name that uniquely identifies the mitigation action.
|
String |
getErrorCode()
The error code of a mitigation action.
|
Date |
getExecutionEndDate()
The date a mitigation action ended.
|
Date |
getExecutionStartDate()
The date a mitigation action was started.
|
String |
getMessage()
The message of a mitigation action.
|
String |
getStatus()
The status of a mitigation action.
|
String |
getTaskId()
The unique identifier of the task.
|
String |
getThingName()
The name of the thing.
|
String |
getViolationId()
The unique identifier of the violation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionName(String actionName)
The friendly name that uniquely identifies the mitigation action.
|
void |
setErrorCode(String errorCode)
The error code of a mitigation action.
|
void |
setExecutionEndDate(Date executionEndDate)
The date a mitigation action ended.
|
void |
setExecutionStartDate(Date executionStartDate)
The date a mitigation action was started.
|
void |
setMessage(String message)
The message of a mitigation action.
|
void |
setStatus(String status)
The status of a mitigation action.
|
void |
setTaskId(String taskId)
The unique identifier of the task.
|
void |
setThingName(String thingName)
The name of the thing.
|
void |
setViolationId(String violationId)
The unique identifier of the violation.
|
String |
toString()
Returns a string representation of this object.
|
DetectMitigationActionExecution |
withActionName(String actionName)
The friendly name that uniquely identifies the mitigation action.
|
DetectMitigationActionExecution |
withErrorCode(String errorCode)
The error code of a mitigation action.
|
DetectMitigationActionExecution |
withExecutionEndDate(Date executionEndDate)
The date a mitigation action ended.
|
DetectMitigationActionExecution |
withExecutionStartDate(Date executionStartDate)
The date a mitigation action was started.
|
DetectMitigationActionExecution |
withMessage(String message)
The message of a mitigation action.
|
DetectMitigationActionExecution |
withStatus(DetectMitigationActionExecutionStatus status)
The status of a mitigation action.
|
DetectMitigationActionExecution |
withStatus(String status)
The status of a mitigation action.
|
DetectMitigationActionExecution |
withTaskId(String taskId)
The unique identifier of the task.
|
DetectMitigationActionExecution |
withThingName(String thingName)
The name of the thing.
|
DetectMitigationActionExecution |
withViolationId(String violationId)
The unique identifier of the violation.
|
public void setTaskId(String taskId)
The unique identifier of the task.
taskId
- The unique identifier of the task.public String getTaskId()
The unique identifier of the task.
public DetectMitigationActionExecution withTaskId(String taskId)
The unique identifier of the task.
taskId
- The unique identifier of the task.public void setViolationId(String violationId)
The unique identifier of the violation.
violationId
- The unique identifier of the violation.public String getViolationId()
The unique identifier of the violation.
public DetectMitigationActionExecution withViolationId(String violationId)
The unique identifier of the violation.
violationId
- The unique identifier of the violation.public void setActionName(String actionName)
The friendly name that uniquely identifies the mitigation action.
actionName
- The friendly name that uniquely identifies the mitigation action.public String getActionName()
The friendly name that uniquely identifies the mitigation action.
public DetectMitigationActionExecution withActionName(String actionName)
The friendly name that uniquely identifies the mitigation action.
actionName
- The friendly name that uniquely identifies the mitigation action.public void setThingName(String thingName)
The name of the thing.
thingName
- The name of the thing.public String getThingName()
The name of the thing.
public DetectMitigationActionExecution withThingName(String thingName)
The name of the thing.
thingName
- The name of the thing.public void setExecutionStartDate(Date executionStartDate)
The date a mitigation action was started.
executionStartDate
- The date a mitigation action was started.public Date getExecutionStartDate()
The date a mitigation action was started.
public DetectMitigationActionExecution withExecutionStartDate(Date executionStartDate)
The date a mitigation action was started.
executionStartDate
- The date a mitigation action was started.public void setExecutionEndDate(Date executionEndDate)
The date a mitigation action ended.
executionEndDate
- The date a mitigation action ended.public Date getExecutionEndDate()
The date a mitigation action ended.
public DetectMitigationActionExecution withExecutionEndDate(Date executionEndDate)
The date a mitigation action ended.
executionEndDate
- The date a mitigation action ended.public void setStatus(String status)
The status of a mitigation action.
status
- The status of a mitigation action.DetectMitigationActionExecutionStatus
public String getStatus()
The status of a mitigation action.
DetectMitigationActionExecutionStatus
public DetectMitigationActionExecution withStatus(String status)
The status of a mitigation action.
status
- The status of a mitigation action.DetectMitigationActionExecutionStatus
public DetectMitigationActionExecution withStatus(DetectMitigationActionExecutionStatus status)
The status of a mitigation action.
status
- The status of a mitigation action.DetectMitigationActionExecutionStatus
public void setErrorCode(String errorCode)
The error code of a mitigation action.
errorCode
- The error code of a mitigation action.public String getErrorCode()
The error code of a mitigation action.
public DetectMitigationActionExecution withErrorCode(String errorCode)
The error code of a mitigation action.
errorCode
- The error code of a mitigation action.public void setMessage(String message)
The message of a mitigation action.
message
- The message of a mitigation action.public String getMessage()
The message of a mitigation action.
public DetectMitigationActionExecution withMessage(String message)
The message of a mitigation action.
message
- The message of a mitigation action.public String toString()
toString
in class Object
Object.toString()
public DetectMitigationActionExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.