public Resource withSubResourceId(String subResourceId) {
        setSubResourceId(subResourceId);
        return this;
    }
<p>
The identifier for a section of the resource.
</p>

@param subResourceId
       The identifier for a section of the resource.
@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/Resource.java