@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)
Marshalls this structured data using the given
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.EcrRescanDuration
public 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.EcrRescanDuration
public 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.EcrRescanDuration
public 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.EcrRescanDuration
public String toString()
toString
in class Object
Object.toString()
public EcrConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.