Interface TechniqueCoverage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TechniqueCoverage.Builder,,TechniqueCoverage> SdkBuilder<TechniqueCoverage.Builder,,TechniqueCoverage> SdkPojo
- Enclosing class:
TechniqueCoverage
@Mutable
@NotThreadSafe
public static interface TechniqueCoverage.Builder
extends SdkPojo, CopyableBuilder<TechniqueCoverage.Builder,TechniqueCoverage>
-
Method Summary
Modifier and TypeMethodDescriptionfindingCount(Integer findingCount) The number of findings associated with the technique.findingTypes(String... findingTypes) The finding types associated with the technique.findingTypes(Collection<String> findingTypes) The finding types associated with the technique.default TechniqueCoverage.Buildertechnique(Consumer<ThreatReference.Builder> technique) The technique.technique(ThreatReference technique) The technique.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
-
technique
The technique.
- Parameters:
technique- The technique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
technique
The technique.
This is a convenience method that creates an instance of theThreatReference.Builderavoiding the need to create one manually viaThreatReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totechnique(ThreatReference).- Parameters:
technique- a consumer that will call methods onThreatReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
findingCount
The number of findings associated with the technique.
- Parameters:
findingCount- The number of findings associated with the technique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingTypes
The finding types associated with the technique.
- Parameters:
findingTypes- The finding types associated with the technique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingTypes
The finding types associated with the technique.
- Parameters:
findingTypes- The finding types associated with the technique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-