Class Workflow
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.Workflow
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Workflow.Builder,Workflow>
@Generated("software.amazon.awssdk:codegen") public final class Workflow extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Workflow.Builder,Workflow>
Provides details about the status of the investigation into a finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkflow.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Workflow.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Workflow.Builder>serializableBuilderClass()WorkflowStatusstatus()The status of the investigation into the finding.StringstatusAsString()The status of the investigation into the finding.Workflow.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
status
public 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
SUPPRESSEDorRESOLVEDdoes 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 the workflow status from
NOTIFIEDorRESOLVEDtoNEWin the following cases:-
RecordStatechanges fromARCHIVEDtoACTIVE. -
ComplianceStatuschanges fromPASSEDto eitherWARNING,FAILED, orNOT_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. -
SUPPRESSED- Indicates that you reviewed the finding and don't believe that any action is needed. The finding is no longer updated. -
RESOLVED- The finding was reviewed and remediated and is now considered resolved.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkflowStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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
SUPPRESSEDorRESOLVEDdoes 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 the workflow status from
NOTIFIEDorRESOLVEDtoNEWin the following cases:-
RecordStatechanges fromARCHIVEDtoACTIVE. -
ComplianceStatuschanges fromPASSEDto eitherWARNING,FAILED, orNOT_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. -
SUPPRESSED- Indicates that you reviewed the finding and don't believe that any action is needed. The finding is no longer updated. -
RESOLVED- The finding was reviewed and remediated and is now considered resolved.
-
- See Also:
WorkflowStatus
-
-
statusAsString
public 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
SUPPRESSEDorRESOLVEDdoes 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 the workflow status from
NOTIFIEDorRESOLVEDtoNEWin the following cases:-
RecordStatechanges fromARCHIVEDtoACTIVE. -
ComplianceStatuschanges fromPASSEDto eitherWARNING,FAILED, orNOT_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. -
SUPPRESSED- Indicates that you reviewed the finding and don't believe that any action is needed. The finding is no longer updated. -
RESOLVED- The finding was reviewed and remediated and is now considered resolved.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkflowStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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
SUPPRESSEDorRESOLVEDdoes 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 the workflow status from
NOTIFIEDorRESOLVEDtoNEWin the following cases:-
RecordStatechanges fromARCHIVEDtoACTIVE. -
ComplianceStatuschanges fromPASSEDto eitherWARNING,FAILED, orNOT_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. -
SUPPRESSED- Indicates that you reviewed the finding and don't believe that any action is needed. The finding is no longer updated. -
RESOLVED- The finding was reviewed and remediated and is now considered resolved.
-
- See Also:
WorkflowStatus
-
-
toBuilder
public Workflow.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Workflow.Builder,Workflow>
-
builder
public static Workflow.Builder builder()
-
serializableBuilderClass
public static Class<? extends Workflow.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-