Interface ImageFinding.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageFinding.Builder,,ImageFinding> SdkBuilder<ImageFinding.Builder,,ImageFinding> SdkPojo
- Enclosing class:
ImageFinding
-
Method Summary
Modifier and TypeMethodDescriptionfirstObservedAt(Instant firstObservedAt) The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the finding.fixAvailable(Boolean fixAvailable) Specifies whether a fix is available for the finding.The file paths in the AMI that are affected by the finding.paths(Collection<String> paths) The file paths in the AMI that are affected by the finding.The Amazon Inspector score for the finding.severityLabel(String severityLabel) The severity of the finding.severityLabel(SeverityLabel severityLabel) The severity of the finding.snapshotId(String snapshotId) The ID of the Amazon EBS snapshot of the AMI in which the finding was detected.The title of the finding.The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the finding.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
-
fixAvailable
Specifies whether a fix is available for the finding. This value is
truewhen Amazon Inspector reports a full or partial fix for the finding.- Parameters:
fixAvailable- Specifies whether a fix is available for the finding. This value istruewhen Amazon Inspector reports a full or partial fix for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
The Amazon Inspector score for the finding.
- Parameters:
score- The Amazon Inspector score for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstObservedAt
The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the finding.
- Parameters:
firstObservedAt- The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the finding.
- Parameters:
updatedAt- The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the finding.
- Parameters:
title- The title of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paths
The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10 file paths for each finding.
- Parameters:
paths- The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10 file paths for each finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paths
The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10 file paths for each finding.
- Parameters:
paths- The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10 file paths for each finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityLabel
The severity of the finding.
The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:
-
informational- CVSS score of 0. -
low- CVSS score of 0.1 to 3.9. -
medium- CVSS score of 4.0 to 6.9. -
high- CVSS score of 7.0 to 8.9. -
critical- CVSS score of 9.0 to 10.0.
For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.
- Parameters:
severityLabel- The severity of the finding.The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:
-
informational- CVSS score of 0. -
low- CVSS score of 0.1 to 3.9. -
medium- CVSS score of 4.0 to 6.9. -
high- CVSS score of 7.0 to 8.9. -
critical- CVSS score of 9.0 to 10.0.
For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
severityLabel
The severity of the finding.
The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:
-
informational- CVSS score of 0. -
low- CVSS score of 0.1 to 3.9. -
medium- CVSS score of 4.0 to 6.9. -
high- CVSS score of 7.0 to 8.9. -
critical- CVSS score of 9.0 to 10.0.
For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.
- Parameters:
severityLabel- The severity of the finding.The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:
-
informational- CVSS score of 0. -
low- CVSS score of 0.1 to 3.9. -
medium- CVSS score of 4.0 to 6.9. -
high- CVSS score of 7.0 to 8.9. -
critical- CVSS score of 9.0 to 10.0.
For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
snapshotId
The ID of the Amazon EBS snapshot of the AMI in which the finding was detected.
- Parameters:
snapshotId- The ID of the Amazon EBS snapshot of the AMI in which the finding was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-