Interface BatchUpdateFindingsV2UnprocessedFinding.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchUpdateFindingsV2UnprocessedFinding.Builder,,BatchUpdateFindingsV2UnprocessedFinding> SdkBuilder<BatchUpdateFindingsV2UnprocessedFinding.Builder,,BatchUpdateFindingsV2UnprocessedFinding> SdkPojo
- Enclosing class:
BatchUpdateFindingsV2UnprocessedFinding
@Mutable
@NotThreadSafe
public static interface BatchUpdateFindingsV2UnprocessedFinding.Builder
extends SdkPojo, CopyableBuilder<BatchUpdateFindingsV2UnprocessedFinding.Builder,BatchUpdateFindingsV2UnprocessedFinding>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the specific type of error preventing successful processing of a finding during a batch update operation.Indicates the specific type of error preventing successful processing of a finding during a batch update operation.errorMessage(String errorMessage) A detailed description of why a finding could not be processed during a batch update operation.findingIdentifier(Consumer<OcsfFindingIdentifier.Builder> findingIdentifier) The finding identifier of an unprocessed finding.findingIdentifier(OcsfFindingIdentifier findingIdentifier) The finding identifier of an unprocessed finding.metadataUid(String metadataUid) The metadata.uid of an unprocessed finding.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
findingIdentifier
BatchUpdateFindingsV2UnprocessedFinding.Builder findingIdentifier(OcsfFindingIdentifier findingIdentifier) The finding identifier of an unprocessed finding.
- Parameters:
findingIdentifier- The finding identifier of an unprocessed finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIdentifier
default BatchUpdateFindingsV2UnprocessedFinding.Builder findingIdentifier(Consumer<OcsfFindingIdentifier.Builder> findingIdentifier) The finding identifier of an unprocessed finding.
This is a convenience method that creates an instance of theOcsfFindingIdentifier.Builderavoiding the need to create one manually viaOcsfFindingIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindingIdentifier(OcsfFindingIdentifier).- Parameters:
findingIdentifier- a consumer that will call methods onOcsfFindingIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadataUid
The metadata.uid of an unprocessed finding.
- Parameters:
metadataUid- The metadata.uid of an unprocessed finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
Indicates the specific type of error preventing successful processing of a finding during a batch update operation.
- Parameters:
errorCode- Indicates the specific type of error preventing successful processing of a finding during a batch update operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
BatchUpdateFindingsV2UnprocessedFinding.Builder errorCode(BatchUpdateFindingsV2UnprocessedFindingErrorCode errorCode) Indicates the specific type of error preventing successful processing of a finding during a batch update operation.
- Parameters:
errorCode- Indicates the specific type of error preventing successful processing of a finding during a batch update operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
A detailed description of why a finding could not be processed during a batch update operation.
- Parameters:
errorMessage- A detailed description of why a finding could not be processed during a batch update operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-