public GetRegistryScanningConfigurationResult withScanningConfiguration(RegistryScanningConfiguration scanningConfiguration) {
        setScanningConfiguration(scanningConfiguration);
        return this;
    }
<p>
The scanning configuration for the registry.
</p>

@param scanningConfiguration
       The scanning configuration for the registry.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/GetRegistryScanningConfigurationResult.java