public RepositoryScanningConfiguration withScanFrequency(ScanFrequency scanFrequency) {
        this.scanFrequency = scanFrequency.toString();
        return this;
    }
<p>
The scan frequency for the repository.
</p>

@param scanFrequency
       The scan frequency for the repository.
@return Returns a reference to this object so that method calls can be chained together.
@see ScanFrequency
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/RepositoryScanningConfiguration.java