Interface ImageScanStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageScanStatus.Builder,,ImageScanStatus> SdkBuilder<ImageScanStatus.Builder,,ImageScanStatus> SdkPojo
- Enclosing class:
ImageScanStatus
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the image scan status.The current state of the image scan.status(ScanStatus status) The current state of the image scan.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
-
status
The current state of the image scan. Valid values:
-
ACTIVE: The scan is complete and the findings are available. Amazon ECR keeps the findings up to date as new vulnerabilities are published. -
PENDING: The scan is in progress, and the findings aren't available yet. -
COMPLETE: The scan completed successfully. -
FAILED: The scan failed. -
UNSUPPORTED_IMAGE: The image can't be scanned because its media type, operating system, or package manager isn't supported. -
FINDINGS_UNAVAILABLE: The findings aren't available for the image. -
SCAN_ELIGIBILITY_EXPIRED: The image is no longer eligible for scanning, so its findings aren't updated.
- Parameters:
status- The current state of the image scan. Valid values:-
ACTIVE: The scan is complete and the findings are available. Amazon ECR keeps the findings up to date as new vulnerabilities are published. -
PENDING: The scan is in progress, and the findings aren't available yet. -
COMPLETE: The scan completed successfully. -
FAILED: The scan failed. -
UNSUPPORTED_IMAGE: The image can't be scanned because its media type, operating system, or package manager isn't supported. -
FINDINGS_UNAVAILABLE: The findings aren't available for the image. -
SCAN_ELIGIBILITY_EXPIRED: The image is no longer eligible for scanning, so its findings aren't updated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The current state of the image scan. Valid values:
-
ACTIVE: The scan is complete and the findings are available. Amazon ECR keeps the findings up to date as new vulnerabilities are published. -
PENDING: The scan is in progress, and the findings aren't available yet. -
COMPLETE: The scan completed successfully. -
FAILED: The scan failed. -
UNSUPPORTED_IMAGE: The image can't be scanned because its media type, operating system, or package manager isn't supported. -
FINDINGS_UNAVAILABLE: The findings aren't available for the image. -
SCAN_ELIGIBILITY_EXPIRED: The image is no longer eligible for scanning, so its findings aren't updated.
- Parameters:
status- The current state of the image scan. Valid values:-
ACTIVE: The scan is complete and the findings are available. Amazon ECR keeps the findings up to date as new vulnerabilities are published. -
PENDING: The scan is in progress, and the findings aren't available yet. -
COMPLETE: The scan completed successfully. -
FAILED: The scan failed. -
UNSUPPORTED_IMAGE: The image can't be scanned because its media type, operating system, or package manager isn't supported. -
FINDINGS_UNAVAILABLE: The findings aren't available for the image. -
SCAN_ELIGIBILITY_EXPIRED: The image is no longer eligible for scanning, so its findings aren't updated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
description
The description of the image scan status.
- Parameters:
description- The description of the image scan status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-