public Boolean getScanOnPush() {
        return this.scanOnPush;
    }
<p>
Whether or not scan on push is configured for the repository.
</p>

@return Whether or not scan on push is configured for the repository.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/RepositoryScanningConfiguration.java