Interface FindingDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FindingDetail.Builder,FindingDetail>,SdkBuilder<FindingDetail.Builder,FindingDetail>,SdkPojo
- Enclosing class:
- FindingDetail
public static interface FindingDetail.Builder extends SdkPojo, CopyableBuilder<FindingDetail.Builder,FindingDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FindingDetail.BuildercisaData(Consumer<CisaData.Builder> cisaData)Sets the value of the CisaData property for this object.FindingDetail.BuildercisaData(CisaData cisaData)Sets the value of the CisaData property for this object.FindingDetail.Buildercwes(String... cwes)The Common Weakness Enumerations (CWEs) associated with the vulnerability.FindingDetail.Buildercwes(Collection<String> cwes)The Common Weakness Enumerations (CWEs) associated with the vulnerability.FindingDetail.BuilderepssScore(Double epssScore)The Exploit Prediction Scoring System (EPSS) score of the vulnerability.FindingDetail.Builderevidences(Collection<Evidence> evidences)Information on the evidence of the vulnerability.FindingDetail.Builderevidences(Consumer<Evidence.Builder>... evidences)Information on the evidence of the vulnerability.FindingDetail.Builderevidences(Evidence... evidences)Information on the evidence of the vulnerability.default FindingDetail.BuilderexploitObserved(Consumer<ExploitObserved.Builder> exploitObserved)Sets the value of the ExploitObserved property for this object.FindingDetail.BuilderexploitObserved(ExploitObserved exploitObserved)Sets the value of the ExploitObserved property for this object.FindingDetail.BuilderfindingArn(String findingArn)The finding ARN that the vulnerability details are associated with.FindingDetail.BuilderreferenceUrls(String... referenceUrls)The reference URLs for the vulnerability data.FindingDetail.BuilderreferenceUrls(Collection<String> referenceUrls)The reference URLs for the vulnerability data.FindingDetail.BuilderriskScore(Integer riskScore)The risk score of the vulnerability.FindingDetail.Buildertools(String... tools)The known malware tools or kits that can exploit the vulnerability.FindingDetail.Buildertools(Collection<String> tools)The known malware tools or kits that can exploit the vulnerability.FindingDetail.Builderttps(String... ttps)The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.FindingDetail.Builderttps(Collection<String> ttps)The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.-
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, sdkFields
-
-
-
-
Method Detail
-
cisaData
FindingDetail.Builder cisaData(CisaData cisaData)
Sets the value of the CisaData property for this object.- Parameters:
cisaData- The new value for the CisaData property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cisaData
default FindingDetail.Builder cisaData(Consumer<CisaData.Builder> cisaData)
Sets the value of the CisaData property for this object. This is a convenience method that creates an instance of theCisaData.Builderavoiding the need to create one manually viaCisaData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocisaData(CisaData).- Parameters:
cisaData- a consumer that will call methods onCisaData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cisaData(CisaData)
-
cwes
FindingDetail.Builder cwes(Collection<String> cwes)
The Common Weakness Enumerations (CWEs) associated with the vulnerability.
- Parameters:
cwes- The Common Weakness Enumerations (CWEs) associated with the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cwes
FindingDetail.Builder cwes(String... cwes)
The Common Weakness Enumerations (CWEs) associated with the vulnerability.
- Parameters:
cwes- The Common Weakness Enumerations (CWEs) associated with the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
epssScore
FindingDetail.Builder epssScore(Double epssScore)
The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
- Parameters:
epssScore- The Exploit Prediction Scoring System (EPSS) score of the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidences
FindingDetail.Builder evidences(Collection<Evidence> evidences)
Information on the evidence of the vulnerability.
- Parameters:
evidences- Information on the evidence of the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidences
FindingDetail.Builder evidences(Evidence... evidences)
Information on the evidence of the vulnerability.
- Parameters:
evidences- Information on the evidence of the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidences
FindingDetail.Builder evidences(Consumer<Evidence.Builder>... evidences)
Information on the evidence of the vulnerability.
This is a convenience method that creates an instance of theEvidence.Builderavoiding the need to create one manually viaEvidence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#evidences(List.) - Parameters:
evidences- a consumer that will call methods onEvidence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#evidences(java.util.Collection)
-
exploitObserved
FindingDetail.Builder exploitObserved(ExploitObserved exploitObserved)
Sets the value of the ExploitObserved property for this object.- Parameters:
exploitObserved- The new value for the ExploitObserved property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exploitObserved
default FindingDetail.Builder exploitObserved(Consumer<ExploitObserved.Builder> exploitObserved)
Sets the value of the ExploitObserved property for this object. This is a convenience method that creates an instance of theExploitObserved.Builderavoiding the need to create one manually viaExploitObserved.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexploitObserved(ExploitObserved).- Parameters:
exploitObserved- a consumer that will call methods onExploitObserved.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
exploitObserved(ExploitObserved)
-
findingArn
FindingDetail.Builder findingArn(String findingArn)
The finding ARN that the vulnerability details are associated with.
- Parameters:
findingArn- The finding ARN that the vulnerability details are associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceUrls
FindingDetail.Builder referenceUrls(Collection<String> referenceUrls)
The reference URLs for the vulnerability data.
- Parameters:
referenceUrls- The reference URLs for the vulnerability data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceUrls
FindingDetail.Builder referenceUrls(String... referenceUrls)
The reference URLs for the vulnerability data.
- Parameters:
referenceUrls- The reference URLs for the vulnerability data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskScore
FindingDetail.Builder riskScore(Integer riskScore)
The risk score of the vulnerability.
- Parameters:
riskScore- The risk score of the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
FindingDetail.Builder tools(Collection<String> tools)
The known malware tools or kits that can exploit the vulnerability.
- Parameters:
tools- The known malware tools or kits that can exploit the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
FindingDetail.Builder tools(String... tools)
The known malware tools or kits that can exploit the vulnerability.
- Parameters:
tools- The known malware tools or kits that can exploit the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ttps
FindingDetail.Builder ttps(Collection<String> ttps)
The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
- Parameters:
ttps- The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ttps
FindingDetail.Builder ttps(String... ttps)
The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
- Parameters:
ttps- The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-