Class ImageScanningConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.ecr.model.ImageScanningConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageScanningConfiguration.Builder,ImageScanningConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ImageScanningConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageScanningConfiguration.Builder,ImageScanningConfiguration>
The image scanning configuration for a repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImageScanningConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageScanningConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanscanOnPush()The setting that determines whether images are scanned after being pushed to a repository.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ImageScanningConfiguration.Builder>serializableBuilderClass()ImageScanningConfiguration.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
-
scanOnPush
public final Boolean scanOnPush()
The setting that determines whether images are scanned after being pushed to a repository. If set to
true, images will be scanned after being pushed. If this parameter is not specified, it will default tofalseand images will not be scanned unless a scan is manually started with the API_StartImageScan API.- Returns:
- The setting that determines whether images are scanned after being pushed to a repository. If set to
true, images will be scanned after being pushed. If this parameter is not specified, it will default tofalseand images will not be scanned unless a scan is manually started with the API_StartImageScan API.
-
toBuilder
public ImageScanningConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageScanningConfiguration.Builder,ImageScanningConfiguration>
-
builder
public static ImageScanningConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImageScanningConfiguration.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-