public CisTargetResourceAggregation withScanArn(String scanArn) {
        setScanArn(scanArn);
        return this;
    }
<p>
The scan ARN for the CIS target resource.
</p>

@param scanArn
       The scan ARN for the CIS target resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/CisTargetResourceAggregation.java