Interface EcrRescanDurationState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EcrRescanDurationState.Builder,EcrRescanDurationState>,SdkBuilder<EcrRescanDurationState.Builder,EcrRescanDurationState>,SdkPojo
- Enclosing class:
- EcrRescanDurationState
public static interface EcrRescanDurationState.Builder extends SdkPojo, CopyableBuilder<EcrRescanDurationState.Builder,EcrRescanDurationState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EcrRescanDurationState.BuilderrescanDuration(String rescanDuration)The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.EcrRescanDurationState.BuilderrescanDuration(EcrRescanDuration rescanDuration)The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.EcrRescanDurationState.Builderstatus(String status)The status of changes to the ECR automated re-scan duration.EcrRescanDurationState.Builderstatus(EcrRescanDurationStatus status)The status of changes to the ECR automated re-scan duration.EcrRescanDurationState.BuilderupdatedAt(Instant updatedAt)A timestamp representing when the last time the ECR scan duration setting was changed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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
inactiveand 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 becomesinactiveand 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
inactiveand 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 becomesinactiveand 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
-
status
EcrRescanDurationState.Builder status(String status)
The status of changes to the ECR automated re-scan duration.
- Parameters:
status- The status of changes to the ECR automated re-scan duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EcrRescanDurationStatus,EcrRescanDurationStatus
-
status
EcrRescanDurationState.Builder status(EcrRescanDurationStatus status)
The status of changes to the ECR automated re-scan duration.
- Parameters:
status- The status of changes to the ECR automated re-scan duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EcrRescanDurationStatus,EcrRescanDurationStatus
-
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.
-
-