public GetScanRequest withScanName(String scanName) {
        setScanName(scanName);
        return this;
    }
<p>
The name of the scan you want to view details about.
</p>

@param scanName
       The name of the scan you want to view details about.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codegurusecurity/src/main/java/com/amazonaws/services/codegurusecurity/model/GetScanRequest.java