public ListThingPrincipalsResult withPrincipals(java.util.Collection<String> principals) {
        setPrincipals(principals);
        return this;
    }
<p>
The principals associated with the thing.
</p>

@param principals
       The principals associated with the thing.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListThingPrincipalsResult.java