@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)
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.
|
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.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 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.EcrRescanDuration
public 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.EcrRescanDuration
public 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.EcrRescanDurationStatus
public String getStatus()
The status of changes to the ECR automated re-scan duration.
EcrRescanDurationStatus
public 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.EcrRescanDurationStatus
public 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.EcrRescanDurationStatus
public 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 Object
Object.toString()
public EcrRescanDurationState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.