@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuditMitigationActionExecutionMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Returned by ListAuditMitigationActionsTask, this object contains information that describes a mitigation action that has been started.
Constructor and Description |
---|
AuditMitigationActionExecutionMetadata() |
Modifier and Type | Method and Description |
---|---|
AuditMitigationActionExecutionMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
The unique identifier for the mitigation action being applied by the task.
|
String |
getActionName()
The friendly name of the mitigation action being applied by the task.
|
Date |
getEndTime()
The date and time when the task was completed or canceled.
|
String |
getErrorCode()
If an error occurred, the code that indicates which type of error occurred.
|
String |
getFindingId()
The unique identifier for the findings to which the task and associated mitigation action are applied.
|
String |
getMessage()
If an error occurred, a message that describes the error.
|
Date |
getStartTime()
The date and time when the task was started.
|
String |
getStatus()
The current status of the task being executed.
|
String |
getTaskId()
The unique identifier for the task that applies the mitigation action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionId(String actionId)
The unique identifier for the mitigation action being applied by the task.
|
void |
setActionName(String actionName)
The friendly name of the mitigation action being applied by the task.
|
void |
setEndTime(Date endTime)
The date and time when the task was completed or canceled.
|
void |
setErrorCode(String errorCode)
If an error occurred, the code that indicates which type of error occurred.
|
void |
setFindingId(String findingId)
The unique identifier for the findings to which the task and associated mitigation action are applied.
|
void |
setMessage(String message)
If an error occurred, a message that describes the error.
|
void |
setStartTime(Date startTime)
The date and time when the task was started.
|
void |
setStatus(String status)
The current status of the task being executed.
|
void |
setTaskId(String taskId)
The unique identifier for the task that applies the mitigation action.
|
String |
toString()
Returns a string representation of this object.
|
AuditMitigationActionExecutionMetadata |
withActionId(String actionId)
The unique identifier for the mitigation action being applied by the task.
|
AuditMitigationActionExecutionMetadata |
withActionName(String actionName)
The friendly name of the mitigation action being applied by the task.
|
AuditMitigationActionExecutionMetadata |
withEndTime(Date endTime)
The date and time when the task was completed or canceled.
|
AuditMitigationActionExecutionMetadata |
withErrorCode(String errorCode)
If an error occurred, the code that indicates which type of error occurred.
|
AuditMitigationActionExecutionMetadata |
withFindingId(String findingId)
The unique identifier for the findings to which the task and associated mitigation action are applied.
|
AuditMitigationActionExecutionMetadata |
withMessage(String message)
If an error occurred, a message that describes the error.
|
AuditMitigationActionExecutionMetadata |
withStartTime(Date startTime)
The date and time when the task was started.
|
AuditMitigationActionExecutionMetadata |
withStatus(AuditMitigationActionsExecutionStatus status)
The current status of the task being executed.
|
AuditMitigationActionExecutionMetadata |
withStatus(String status)
The current status of the task being executed.
|
AuditMitigationActionExecutionMetadata |
withTaskId(String taskId)
The unique identifier for the task that applies the mitigation action.
|
public AuditMitigationActionExecutionMetadata()
public void setTaskId(String taskId)
The unique identifier for the task that applies the mitigation action.
taskId
- The unique identifier for the task that applies the mitigation action.public String getTaskId()
The unique identifier for the task that applies the mitigation action.
public AuditMitigationActionExecutionMetadata withTaskId(String taskId)
The unique identifier for the task that applies the mitigation action.
taskId
- The unique identifier for the task that applies the mitigation action.public void setFindingId(String findingId)
The unique identifier for the findings to which the task and associated mitigation action are applied.
findingId
- The unique identifier for the findings to which the task and associated mitigation action are applied.public String getFindingId()
The unique identifier for the findings to which the task and associated mitigation action are applied.
public AuditMitigationActionExecutionMetadata withFindingId(String findingId)
The unique identifier for the findings to which the task and associated mitigation action are applied.
findingId
- The unique identifier for the findings to which the task and associated mitigation action are applied.public void setActionName(String actionName)
The friendly name of the mitigation action being applied by the task.
actionName
- The friendly name of the mitigation action being applied by the task.public String getActionName()
The friendly name of the mitigation action being applied by the task.
public AuditMitigationActionExecutionMetadata withActionName(String actionName)
The friendly name of the mitigation action being applied by the task.
actionName
- The friendly name of the mitigation action being applied by the task.public void setActionId(String actionId)
The unique identifier for the mitigation action being applied by the task.
actionId
- The unique identifier for the mitigation action being applied by the task.public String getActionId()
The unique identifier for the mitigation action being applied by the task.
public AuditMitigationActionExecutionMetadata withActionId(String actionId)
The unique identifier for the mitigation action being applied by the task.
actionId
- The unique identifier for the mitigation action being applied by the task.public void setStatus(String status)
The current status of the task being executed.
status
- The current status of the task being executed.AuditMitigationActionsExecutionStatus
public String getStatus()
The current status of the task being executed.
AuditMitigationActionsExecutionStatus
public AuditMitigationActionExecutionMetadata withStatus(String status)
The current status of the task being executed.
status
- The current status of the task being executed.AuditMitigationActionsExecutionStatus
public AuditMitigationActionExecutionMetadata withStatus(AuditMitigationActionsExecutionStatus status)
The current status of the task being executed.
status
- The current status of the task being executed.AuditMitigationActionsExecutionStatus
public void setStartTime(Date startTime)
The date and time when the task was started.
startTime
- The date and time when the task was started.public Date getStartTime()
The date and time when the task was started.
public AuditMitigationActionExecutionMetadata withStartTime(Date startTime)
The date and time when the task was started.
startTime
- The date and time when the task was started.public void setEndTime(Date endTime)
The date and time when the task was completed or canceled. Blank if the task is still running.
endTime
- The date and time when the task was completed or canceled. Blank if the task is still running.public Date getEndTime()
The date and time when the task was completed or canceled. Blank if the task is still running.
public AuditMitigationActionExecutionMetadata withEndTime(Date endTime)
The date and time when the task was completed or canceled. Blank if the task is still running.
endTime
- The date and time when the task was completed or canceled. Blank if the task is still running.public void setErrorCode(String errorCode)
If an error occurred, the code that indicates which type of error occurred.
errorCode
- If an error occurred, the code that indicates which type of error occurred.public String getErrorCode()
If an error occurred, the code that indicates which type of error occurred.
public AuditMitigationActionExecutionMetadata withErrorCode(String errorCode)
If an error occurred, the code that indicates which type of error occurred.
errorCode
- If an error occurred, the code that indicates which type of error occurred.public void setMessage(String message)
If an error occurred, a message that describes the error.
message
- If an error occurred, a message that describes the error.public String getMessage()
If an error occurred, a message that describes the error.
public AuditMitigationActionExecutionMetadata withMessage(String message)
If an error occurred, a message that describes the error.
message
- If an error occurred, a message that describes the error.public String toString()
toString
in class Object
Object.toString()
public AuditMitigationActionExecutionMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.