public void setScanOnPush(Boolean scanOnPush) {
        this.scanOnPush = scanOnPush;
    }
<p>
Whether to scan images after they are pushed to a repository.
</p>

@param scanOnPush
       Whether to scan images after they are pushed to a repository.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcrRepositoryImageScanningConfigurationDetails.java