public ExpenseGroupProperty withTypes(java.util.Collection<String> types) {
        setTypes(types);
        return this;
    }
<p>
Informs you on whether the expense group is a name or an address.
</p>

@param types
       Informs you on whether the expense group is a name or an address.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-textract/src/main/java/com/amazonaws/services/textract/model/ExpenseGroupProperty.java