Interface Attack.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Attack.Builder,,Attack> SdkBuilder<Attack.Builder,,Attack> SdkPojo
- Enclosing class:
Attack
-
Method Summary
Modifier and TypeMethodDescriptionfindings(Collection<FindingReference> findings) The findings associated with the tactic and technique.findings(Consumer<FindingReference.Builder>... findings) The findings associated with the tactic and technique.findings(FindingReference... findings) The findings associated with the tactic and technique.default Attack.Buildertactic(Consumer<ThreatReference.Builder> tactic) The MITRE ATT&CK tactic.tactic(ThreatReference tactic) The MITRE ATT&CK tactic.default Attack.Buildertechnique(Consumer<ThreatReference.Builder> technique) The MITRE ATT&CK technique.technique(ThreatReference technique) The MITRE ATT&CK technique.The version of the attack framework that the tactic and technique classification uses.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
-
tactic
The MITRE ATT&CK tactic.
- Parameters:
tactic- The MITRE ATT&CK tactic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tactic
The MITRE ATT&CK tactic.
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 totactic(ThreatReference).- Parameters:
tactic- 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:
-
technique
The MITRE ATT&CK technique.
- Parameters:
technique- The MITRE ATT&CK technique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
technique
The MITRE ATT&CK 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:
-
findings
The findings associated with the tactic and technique.
- Parameters:
findings- The findings associated with the tactic and technique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings associated with the tactic and technique.
- Parameters:
findings- The findings associated with the tactic and technique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings associated with the tactic and technique.
This is a convenience method that creates an instance of theFindingReference.Builderavoiding the need to create one manually viaFindingReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindings(List<FindingReference>).- Parameters:
findings- a consumer that will call methods onFindingReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version of the attack framework that the tactic and technique classification uses.
- Parameters:
version- The version of the attack framework that the tactic and technique classification uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-