@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageScanningConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The image scanning configuration for a repository.
| Constructor and Description | 
|---|
| ImageScanningConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| ImageScanningConfiguration | clone() | 
| boolean | equals(Object obj) | 
| Boolean | getScanOnPush()
 The setting that determines whether images are scanned after being pushed to a repository. | 
| int | hashCode() | 
| Boolean | isScanOnPush()
 The setting that determines whether images are scanned after being pushed to a repository. | 
| void | marshall(ProtocolMarshaller protocolMarshaller) | 
| void | setScanOnPush(Boolean scanOnPush)
 The setting that determines whether images are scanned after being pushed to a repository. | 
| String | toString()Returns a string representation of this object. | 
| ImageScanningConfiguration | withScanOnPush(Boolean scanOnPush)
 The setting that determines whether images are scanned after being pushed to a repository. | 
public void setScanOnPush(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
 to false and images will not be scanned unless a scan is manually started with the API_StartImageScan
 API.
 
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 to false and images will not be scanned unless a scan is manually started with the API_StartImageScan
         API.public Boolean getScanOnPush()
 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
 to false and images will not be scanned unless a scan is manually started with the API_StartImageScan
 API.
 
true, images will be scanned after being pushed. If this parameter is not specified, it will
         default to false and images will not be scanned unless a scan is manually started with the
         
         API_StartImageScan API.public ImageScanningConfiguration withScanOnPush(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
 to false and images will not be scanned unless a scan is manually started with the API_StartImageScan
 API.
 
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 to false and images will not be scanned unless a scan is manually started with the API_StartImageScan
         API.public Boolean isScanOnPush()
 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
 to false and images will not be scanned unless a scan is manually started with the API_StartImageScan
 API.
 
true, images will be scanned after being pushed. If this parameter is not specified, it will
         default to false and images will not be scanned unless a scan is manually started with the
         
         API_StartImageScan API.public String toString()
toString in class ObjectObject.toString()public ImageScanningConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.