@Generated(value="software.amazon.awssdk:codegen") public final class EcrConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EcrConfiguration.Builder,EcrConfiguration>
Details about the ECR automated re-scan duration setting for your environment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EcrConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EcrConfiguration.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 EcrConfiguration.Builder> |
serializableBuilderClass() |
EcrConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
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 EcrConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EcrConfiguration.Builder,EcrConfiguration>public static EcrConfiguration.Builder builder()
public static Class<? extends EcrConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.