@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcrRescanDurationState extends Object implements Serializable, Cloneable, StructuredPojo
Details about the state of any changes to the ECR automated re-scan duration setting.
| Constructor and Description |
|---|
EcrRescanDurationState() |
| Modifier and Type | Method and Description |
|---|---|
EcrRescanDurationState |
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.
|
String |
getStatus()
The status of changes to the ECR automated re-scan duration.
|
Date |
getUpdatedAt()
A timestamp representing when the last time the ECR scan duration setting was changed.
|
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.
|
void |
setStatus(String status)
The status of changes to the ECR automated re-scan duration.
|
void |
setUpdatedAt(Date updatedAt)
A timestamp representing when the last time the ECR scan duration setting was changed.
|
String |
toString()
Returns a string representation of this object.
|
EcrRescanDurationState |
withRescanDuration(EcrRescanDuration rescanDuration)
The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.
|
EcrRescanDurationState |
withRescanDuration(String rescanDuration)
The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.
|
EcrRescanDurationState |
withStatus(EcrRescanDurationStatus status)
The status of changes to the ECR automated re-scan duration.
|
EcrRescanDurationState |
withStatus(String status)
The status of changes to the ECR automated re-scan duration.
|
EcrRescanDurationState |
withUpdatedAt(Date updatedAt)
A timestamp representing when the last time the ECR scan duration setting was changed.
|
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 EcrRescanDurationState 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 EcrRescanDurationState 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 void setStatus(String status)
The status of changes to the ECR automated re-scan duration.
status - The status of changes to the ECR automated re-scan duration.EcrRescanDurationStatuspublic String getStatus()
The status of changes to the ECR automated re-scan duration.
EcrRescanDurationStatuspublic EcrRescanDurationState withStatus(String status)
The status of changes to the ECR automated re-scan duration.
status - The status of changes to the ECR automated re-scan duration.EcrRescanDurationStatuspublic EcrRescanDurationState withStatus(EcrRescanDurationStatus status)
The status of changes to the ECR automated re-scan duration.
status - The status of changes to the ECR automated re-scan duration.EcrRescanDurationStatuspublic void setUpdatedAt(Date updatedAt)
A timestamp representing when the last time the ECR scan duration setting was changed.
updatedAt - A timestamp representing when the last time the ECR scan duration setting was changed.public Date getUpdatedAt()
A timestamp representing when the last time the ECR scan duration setting was changed.
public EcrRescanDurationState withUpdatedAt(Date updatedAt)
A timestamp representing when the last time the ECR scan duration setting was changed.
updatedAt - A timestamp representing when the last time the ECR scan duration setting was changed.public String toString()
toString in class ObjectObject.toString()public EcrRescanDurationState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.