Interface EcrConfiguration.Builder

    • Method Detail

      • rescanDuration

        EcrConfiguration.Builder rescanDuration​(String rescanDuration)

        The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

        Parameters:
        rescanDuration - The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EcrRescanDuration, EcrRescanDuration
      • rescanDuration

        EcrConfiguration.Builder rescanDuration​(EcrRescanDuration rescanDuration)

        The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

        Parameters:
        rescanDuration - The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EcrRescanDuration, EcrRescanDuration