@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcrConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Details about the ECR automated re-scan duration setting for your environment.
| Constructor and Description |
|---|
EcrConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EcrConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getRescanDuration()
The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRescanDuration(String rescanDuration)
The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.
|
String |
toString()
Returns a string representation of this object.
|
EcrConfiguration |
withRescanDuration(EcrRescanDuration rescanDuration)
The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.
|
EcrConfiguration |
withRescanDuration(String rescanDuration)
The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.
|
public void setRescanDuration(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.
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.EcrRescanDurationpublic String getRescanDuration()
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.
inactive and all associated findings are
scheduled for closure.EcrRescanDurationpublic EcrConfiguration withRescanDuration(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.
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.EcrRescanDurationpublic EcrConfiguration withRescanDuration(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.
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.EcrRescanDurationpublic String toString()
toString in class ObjectObject.toString()public EcrConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.