@Generated(value="software.amazon.awssdk:codegen") public final class EcrRescanDurationState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EcrRescanDurationState.Builder,EcrRescanDurationState>
Details about the state of any changes to the ECR automated re-scan duration setting.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EcrRescanDurationState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EcrRescanDurationState.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
EcrRescanDuration |
rescanDuration()
The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.
|
String |
rescanDurationAsString()
The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EcrRescanDurationState.Builder> |
serializableBuilderClass() |
EcrRescanDurationStatus |
status()
The status of changes to the ECR automated re-scan duration.
|
String |
statusAsString()
The status of changes to the ECR automated re-scan duration.
|
EcrRescanDurationState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
A timestamp representing when the last time the ECR scan duration setting was changed.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version, rescanDuration
will return EcrRescanDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from rescanDurationAsString().
inactive and all associated findings are
scheduled for closure.EcrRescanDurationpublic final String rescanDurationAsString()
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.
If the service returns an enum value that is not available in the current SDK version, rescanDuration
will return EcrRescanDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from rescanDurationAsString().
inactive and all associated findings are
scheduled for closure.EcrRescanDurationpublic final EcrRescanDurationStatus status()
The status of changes to the ECR automated re-scan duration.
If the service returns an enum value that is not available in the current SDK version, status will
return EcrRescanDurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
EcrRescanDurationStatuspublic final String statusAsString()
The status of changes to the ECR automated re-scan duration.
If the service returns an enum value that is not available in the current SDK version, status will
return EcrRescanDurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
EcrRescanDurationStatuspublic final Instant updatedAt()
A timestamp representing when the last time the ECR scan duration setting was changed.
public EcrRescanDurationState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EcrRescanDurationState.Builder,EcrRescanDurationState>public static EcrRescanDurationState.Builder builder()
public static Class<? extends EcrRescanDurationState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.