public ListTokenBalancesRequest withTokenFilter(TokenFilter tokenFilter) {
        setTokenFilter(tokenFilter);
        return this;
    }
<p>
The contract address or a token identifier on the blockchain network by which to filter the request. You must
specify the <code>contractAddress</code> property of this container when listing tokens minted by a contract.
</p>
<note>
<p>
You must always specify the network property of this container when using this operation.
</p>
</note>

@param tokenFilter
       The contract address or a token identifier on the blockchain network by which to filter the request. You
       must specify the <code>contractAddress</code> property of this container when listing tokens minted by a
       contract.</p> <note>
       <p>
       You must always specify the network property of this container when using this operation.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-managedblockchainquery/src/main/java/com/amazonaws/services/managedblockchainquery/model/ListTokenBalancesRequest.java