public StorageLensGroupFilter withAnd(StorageLensGroupAndOperator and) {
        setAnd(and);
        return this;
    }
<p>
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage
Lens group data. Objects must match all of the listed filter conditions that are joined by the <code>And</code>
logical operator. Only one of each filter condition is allowed.
</p>

@param and
       A logical operator that allows multiple filter conditions to be joined for more complex comparisons of
       Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the
       <code>And</code> logical operator. Only one of each filter condition is allowed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/StorageLensGroupFilter.java