Interface EcrRescanDurationState.Builder

    • Method Detail

      • rescanDuration

        EcrRescanDurationState.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

        EcrRescanDurationState.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
      • updatedAt

        EcrRescanDurationState.Builder updatedAt​(Instant updatedAt)

        A timestamp representing when the last time the ECR scan duration setting was changed.

        Parameters:
        updatedAt - A timestamp representing when the last time the ECR scan duration setting was changed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.