@Generated(value="software.amazon.awssdk:codegen") public final class WorkflowUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkflowUpdate.Builder,WorkflowUpdate>
Used to update information about the investigation into the finding.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkflowUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkflowUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkflowUpdate.Builder> |
serializableBuilderClass() |
WorkflowStatus |
status()
The status of the investigation into the finding.
|
String |
statusAsString()
The status of the investigation into the finding.
|
WorkflowUpdate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final WorkflowStatus status()
The status of the investigation into the finding. The workflow status is specific to an individual finding. It
does not affect the generation of new findings. For example, setting the workflow status to
SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
NEW - The initial state of a finding, before it is reviewed.
Security Hub also resets WorkFlowStatus from NOTIFIED or RESOLVED to
NEW in the following cases:
The record state changes from ARCHIVED to ACTIVE.
The compliance status changes from PASSED to either WARNING, FAILED, or
NOT_AVAILABLE.
NOTIFIED - Indicates that you notified the resource owner about the security issue. Used when the
initial reviewer is not the resource owner, and needs intervention from the resource owner.
RESOLVED - The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED - Indicates that you reviewed the finding and do not believe that any action is needed.
The finding is no longer updated.
If the service returns an enum value that is not available in the current SDK version, status will
return WorkflowStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
NEW - The initial state of a finding, before it is reviewed.
Security Hub also resets WorkFlowStatus from NOTIFIED or RESOLVED
to NEW in the following cases:
The record state changes from ARCHIVED to ACTIVE.
The compliance status changes from PASSED to either WARNING,
FAILED, or NOT_AVAILABLE.
NOTIFIED - Indicates that you notified the resource owner about the security issue. Used
when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
RESOLVED - The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED - Indicates that you reviewed the finding and do not believe that any action is
needed. The finding is no longer updated.
WorkflowStatuspublic final String statusAsString()
The status of the investigation into the finding. The workflow status is specific to an individual finding. It
does not affect the generation of new findings. For example, setting the workflow status to
SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
NEW - The initial state of a finding, before it is reviewed.
Security Hub also resets WorkFlowStatus from NOTIFIED or RESOLVED to
NEW in the following cases:
The record state changes from ARCHIVED to ACTIVE.
The compliance status changes from PASSED to either WARNING, FAILED, or
NOT_AVAILABLE.
NOTIFIED - Indicates that you notified the resource owner about the security issue. Used when the
initial reviewer is not the resource owner, and needs intervention from the resource owner.
RESOLVED - The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED - Indicates that you reviewed the finding and do not believe that any action is needed.
The finding is no longer updated.
If the service returns an enum value that is not available in the current SDK version, status will
return WorkflowStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
NEW - The initial state of a finding, before it is reviewed.
Security Hub also resets WorkFlowStatus from NOTIFIED or RESOLVED
to NEW in the following cases:
The record state changes from ARCHIVED to ACTIVE.
The compliance status changes from PASSED to either WARNING,
FAILED, or NOT_AVAILABLE.
NOTIFIED - Indicates that you notified the resource owner about the security issue. Used
when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
RESOLVED - The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED - Indicates that you reviewed the finding and do not believe that any action is
needed. The finding is no longer updated.
WorkflowStatuspublic WorkflowUpdate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkflowUpdate.Builder,WorkflowUpdate>public static WorkflowUpdate.Builder builder()
public static Class<? extends WorkflowUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.