Interface BatchUpdateFindingsV2ProcessedFinding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchUpdateFindingsV2ProcessedFinding.Builder,
,BatchUpdateFindingsV2ProcessedFinding> SdkBuilder<BatchUpdateFindingsV2ProcessedFinding.Builder,
,BatchUpdateFindingsV2ProcessedFinding> SdkPojo
- Enclosing class:
BatchUpdateFindingsV2ProcessedFinding
@Mutable
@NotThreadSafe
public static interface BatchUpdateFindingsV2ProcessedFinding.Builder
extends SdkPojo, CopyableBuilder<BatchUpdateFindingsV2ProcessedFinding.Builder,BatchUpdateFindingsV2ProcessedFinding>
-
Method Summary
Modifier and TypeMethodDescriptionfindingIdentifier
(Consumer<OcsfFindingIdentifier.Builder> findingIdentifier) The finding identifier of a processed finding.findingIdentifier
(OcsfFindingIdentifier findingIdentifier) The finding identifier of a processed finding.metadataUid
(String metadataUid) The metadata.uid of a processed finding.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, sdkFieldNameToField, sdkFields
-
Method Details
-
findingIdentifier
BatchUpdateFindingsV2ProcessedFinding.Builder findingIdentifier(OcsfFindingIdentifier findingIdentifier) The finding identifier of a processed finding.
- Parameters:
findingIdentifier
- The finding identifier of a processed finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIdentifier
default BatchUpdateFindingsV2ProcessedFinding.Builder findingIdentifier(Consumer<OcsfFindingIdentifier.Builder> findingIdentifier) The finding identifier of a processed finding.
This is a convenience method that creates an instance of theOcsfFindingIdentifier.Builder
avoiding the need to create one manually viaOcsfFindingIdentifier.builder()
.When the
Consumer
completes,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 a processed finding.
- Parameters:
metadataUid
- The metadata.uid of a processed finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-