Interface AuditMitigationActionExecutionMetadata.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AuditMitigationActionExecutionMetadata.Builder,AuditMitigationActionExecutionMetadata>
,SdkBuilder<AuditMitigationActionExecutionMetadata.Builder,AuditMitigationActionExecutionMetadata>
,SdkPojo
- Enclosing class:
- AuditMitigationActionExecutionMetadata
public static interface AuditMitigationActionExecutionMetadata.Builder extends SdkPojo, CopyableBuilder<AuditMitigationActionExecutionMetadata.Builder,AuditMitigationActionExecutionMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuditMitigationActionExecutionMetadata.Builder
actionId(String actionId)
The unique identifier for the mitigation action being applied by the task.AuditMitigationActionExecutionMetadata.Builder
actionName(String actionName)
The friendly name of the mitigation action being applied by the task.AuditMitigationActionExecutionMetadata.Builder
endTime(Instant endTime)
The date and time when the task was completed or canceled.AuditMitigationActionExecutionMetadata.Builder
errorCode(String errorCode)
If an error occurred, the code that indicates which type of error occurred.AuditMitigationActionExecutionMetadata.Builder
findingId(String findingId)
The unique identifier for the findings to which the task and associated mitigation action are applied.AuditMitigationActionExecutionMetadata.Builder
message(String message)
If an error occurred, a message that describes the error.AuditMitigationActionExecutionMetadata.Builder
startTime(Instant startTime)
The date and time when the task was started.AuditMitigationActionExecutionMetadata.Builder
status(String status)
The current status of the task being executed.AuditMitigationActionExecutionMetadata.Builder
status(AuditMitigationActionsExecutionStatus status)
The current status of the task being executed.AuditMitigationActionExecutionMetadata.Builder
taskId(String taskId)
The unique identifier for the task that applies the mitigation action.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
taskId
AuditMitigationActionExecutionMetadata.Builder taskId(String taskId)
The unique identifier for the task that applies the mitigation action.
- Parameters:
taskId
- The unique identifier for the task that applies the mitigation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingId
AuditMitigationActionExecutionMetadata.Builder findingId(String findingId)
The unique identifier for the findings to which the task and associated mitigation action are applied.
- Parameters:
findingId
- The unique identifier for the findings to which the task and associated mitigation action are applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionName
AuditMitigationActionExecutionMetadata.Builder actionName(String actionName)
The friendly name of the mitigation action being applied by the task.
- Parameters:
actionName
- The friendly name of the mitigation action being applied by the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionId
AuditMitigationActionExecutionMetadata.Builder actionId(String actionId)
The unique identifier for the mitigation action being applied by the task.
- Parameters:
actionId
- The unique identifier for the mitigation action being applied by the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
AuditMitigationActionExecutionMetadata.Builder status(String status)
The current status of the task being executed.
- Parameters:
status
- The current status of the task being executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuditMitigationActionsExecutionStatus
,AuditMitigationActionsExecutionStatus
-
status
AuditMitigationActionExecutionMetadata.Builder status(AuditMitigationActionsExecutionStatus status)
The current status of the task being executed.
- Parameters:
status
- The current status of the task being executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuditMitigationActionsExecutionStatus
,AuditMitigationActionsExecutionStatus
-
startTime
AuditMitigationActionExecutionMetadata.Builder startTime(Instant startTime)
The date and time when the task was started.
- Parameters:
startTime
- The date and time when the task was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
AuditMitigationActionExecutionMetadata.Builder endTime(Instant endTime)
The date and time when the task was completed or canceled. Blank if the task is still running.
- Parameters:
endTime
- The date and time when the task was completed or canceled. Blank if the task is still running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
AuditMitigationActionExecutionMetadata.Builder errorCode(String errorCode)
If an error occurred, the code that indicates which type of error occurred.
- Parameters:
errorCode
- If an error occurred, the code that indicates which type of error occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
AuditMitigationActionExecutionMetadata.Builder message(String message)
If an error occurred, a message that describes the error.
- Parameters:
message
- If an error occurred, a message that describes the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-