Interface Baseline.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Baseline.Builder,,Baseline> SdkBuilder<Baseline.Builder,,Baseline> SdkPojo
- Enclosing class:
Baseline
@Mutable
@NotThreadSafe
public static interface Baseline.Builder
extends SdkPojo, CopyableBuilder<Baseline.Builder,Baseline>
-
Method Summary
Modifier and TypeMethodDescriptionanomalousFindings(Collection<FindingTypeClassification> anomalousFindings) The finding types that deviate from normal behavior.anomalousFindings(Consumer<FindingTypeClassification.Builder>... anomalousFindings) The finding types that deviate from normal behavior.anomalousFindings(FindingTypeClassification... anomalousFindings) The finding types that deviate from normal behavior.baselineFindings(Collection<FindingTypeClassification> baselineFindings) The finding types that are consistent with normal behavior.baselineFindings(Consumer<FindingTypeClassification.Builder>... baselineFindings) The finding types that are consistent with normal behavior.baselineFindings(FindingTypeClassification... baselineFindings) The finding types that are consistent with normal behavior.totalFindings(Long totalFindings) The total number of findings.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
-
totalFindings
The total number of findings.
- Parameters:
totalFindings- The total number of findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineFindings
The finding types that are consistent with normal behavior.
- Parameters:
baselineFindings- The finding types that are consistent with normal behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineFindings
The finding types that are consistent with normal behavior.
- Parameters:
baselineFindings- The finding types that are consistent with normal behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineFindings
The finding types that are consistent with normal behavior.
This is a convenience method that creates an instance of theFindingTypeClassification.Builderavoiding the need to create one manually viaFindingTypeClassification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobaselineFindings(List<FindingTypeClassification>).- Parameters:
baselineFindings- a consumer that will call methods onFindingTypeClassification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
anomalousFindings
The finding types that deviate from normal behavior.
- Parameters:
anomalousFindings- The finding types that deviate from normal behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalousFindings
The finding types that deviate from normal behavior.
- Parameters:
anomalousFindings- The finding types that deviate from normal behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalousFindings
Baseline.Builder anomalousFindings(Consumer<FindingTypeClassification.Builder>... anomalousFindings) The finding types that deviate from normal behavior.
This is a convenience method that creates an instance of theFindingTypeClassification.Builderavoiding the need to create one manually viaFindingTypeClassification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanomalousFindings(List<FindingTypeClassification>).- Parameters:
anomalousFindings- a consumer that will call methods onFindingTypeClassification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-