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 interface
ImageScanningConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageScanningConfiguration.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Boolean
scanOnPush()
The setting that determines whether images are scanned after being pushed to a repository.List<SdkField<?>>
sdkFields()
static Class<? extends ImageScanningConfiguration.Builder>
serializableBuilderClass()
ImageScanningConfiguration.Builder
toBuilder()
String
toString()
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 tofalse
and 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 tofalse
and images will not be scanned unless a scan is manually started with the API_StartImageScan API.
-
toBuilder
public ImageScanningConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-