Class EcrConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.EcrConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EcrConfiguration.Builder,EcrConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEcrConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EcrConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()EcrRescanDurationrescanDuration()The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector.StringrescanDurationAsString()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
rescanDuration
public 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
inactiveand all associated findings are scheduled for closure.If the service returns an enum value that is not available in the current SDK version,
rescanDurationwill returnEcrRescanDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrescanDurationAsString().- Returns:
- 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
inactiveand all associated findings are scheduled for closure. - See Also:
EcrRescanDuration
-
rescanDurationAsString
public 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
inactiveand all associated findings are scheduled for closure.If the service returns an enum value that is not available in the current SDK version,
rescanDurationwill returnEcrRescanDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrescanDurationAsString().- Returns:
- 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
inactiveand all associated findings are scheduled for closure. - See Also:
EcrRescanDuration
-
toBuilder
public EcrConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EcrConfiguration.Builder,EcrConfiguration>
-
builder
public static EcrConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends EcrConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-