Class FindingDetail
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.FindingDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FindingDetail.Builder,FindingDetail>
@Generated("software.amazon.awssdk:codegen") public final class FindingDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FindingDetail.Builder,FindingDetail>
Details of the vulnerability identified in a finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFindingDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FindingDetail.Builderbuilder()CisaDatacisaData()Returns the value of the CisaData property for this object.List<String>cwes()The Common Weakness Enumerations (CWEs) associated with the vulnerability.DoubleepssScore()The Exploit Prediction Scoring System (EPSS) score of the vulnerability.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)List<Evidence>evidences()Information on the evidence of the vulnerability.ExploitObservedexploitObserved()Returns the value of the ExploitObserved property for this object.StringfindingArn()The finding ARN that the vulnerability details are associated with.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasCwes()For responses, this returns true if the service returned a value for the Cwes property.booleanhasEvidences()For responses, this returns true if the service returned a value for the Evidences property.inthashCode()booleanhasReferenceUrls()For responses, this returns true if the service returned a value for the ReferenceUrls property.booleanhasTools()For responses, this returns true if the service returned a value for the Tools property.booleanhasTtps()For responses, this returns true if the service returned a value for the Ttps property.List<String>referenceUrls()The reference URLs for the vulnerability data.IntegerriskScore()The risk score of the vulnerability.List<SdkField<?>>sdkFields()static Class<? extends FindingDetail.Builder>serializableBuilderClass()FindingDetail.BuildertoBuilder()List<String>tools()The known malware tools or kits that can exploit the vulnerability.StringtoString()Returns a string representation of this object.List<String>ttps()The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
cisaData
public final CisaData cisaData()
Returns the value of the CisaData property for this object.- Returns:
- The value of the CisaData property for this object.
-
hasCwes
public final boolean hasCwes()
For responses, this returns true if the service returned a value for the Cwes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
cwes
public final List<String> cwes()
The Common Weakness Enumerations (CWEs) associated with the vulnerability.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCwes()method.- Returns:
- The Common Weakness Enumerations (CWEs) associated with the vulnerability.
-
epssScore
public final Double epssScore()
The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
- Returns:
- The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
-
hasEvidences
public final boolean hasEvidences()
For responses, this returns true if the service returned a value for the Evidences property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
evidences
public final List<Evidence> evidences()
Information on the evidence of the vulnerability.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasEvidences()method.- Returns:
- Information on the evidence of the vulnerability.
-
exploitObserved
public final ExploitObserved exploitObserved()
Returns the value of the ExploitObserved property for this object.- Returns:
- The value of the ExploitObserved property for this object.
-
findingArn
public final String findingArn()
The finding ARN that the vulnerability details are associated with.
- Returns:
- The finding ARN that the vulnerability details are associated with.
-
hasReferenceUrls
public final boolean hasReferenceUrls()
For responses, this returns true if the service returned a value for the ReferenceUrls property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
referenceUrls
public final List<String> referenceUrls()
The reference URLs for the vulnerability data.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasReferenceUrls()method.- Returns:
- The reference URLs for the vulnerability data.
-
riskScore
public final Integer riskScore()
The risk score of the vulnerability.
- Returns:
- The risk score of the vulnerability.
-
hasTools
public final boolean hasTools()
For responses, this returns true if the service returned a value for the Tools property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
tools
public final List<String> tools()
The known malware tools or kits that can exploit the vulnerability.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTools()method.- Returns:
- The known malware tools or kits that can exploit the vulnerability.
-
hasTtps
public final boolean hasTtps()
For responses, this returns true if the service returned a value for the Ttps property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
ttps
public final List<String> ttps()
The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTtps()method.- Returns:
- The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
-
toBuilder
public FindingDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FindingDetail.Builder,FindingDetail>
-
builder
public static FindingDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends FindingDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-