public void setTokenBalances(java.util.Collection<BatchGetTokenBalanceOutputItem> tokenBalances) {
        if (tokenBalances == null) {
            this.tokenBalances = null;
            return;
        }

        this.tokenBalances = new java.util.ArrayList<BatchGetTokenBalanceOutputItem>(tokenBalances);
    }
<p>
An array of <code>BatchGetTokenBalanceOutputItem</code> objects returned by the response.
</p>

@param tokenBalances
       An array of <code>BatchGetTokenBalanceOutputItem</code> objects returned by the response.
aws-java-sdk-managedblockchainquery/src/main/java/com/amazonaws/services/managedblockchainquery/model/BatchGetTokenBalanceResult.java