public SearchPrincipalType withId(String id) {
        setId(id);
        return this;
    }
<p>
UserIds or GroupIds.
</p>

@param id
       UserIds or GroupIds.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/SearchPrincipalType.java