public void setId(String id) {
        this.id = id;
    }
<p>
The <code>scanName</code> of the scan that was run on the resource.
</p>

@param id
       The <code>scanName</code> of the scan that was run on the resource.
aws-java-sdk-codegurusecurity/src/main/java/com/amazonaws/services/codegurusecurity/model/Resource.java