public Target withRootId(String rootId) {
        setRootId(rootId);
        return this;
    }
<p>
The ID of the organization root.
</p>

@param rootId
       The ID of the organization root.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/Target.java