public ResourceIdentifier withAccount(String account) {
        setAccount(account);
        return this;
    }
<p>
The account with which the resource is associated.
</p>

@param account
       The account with which the resource is associated.
@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/ResourceIdentifier.java