public RegistrationFilter withName(RegistrationFilterName name) {
        this.name = name.toString();
        return this;
    }
<p>
The name of the attribute to filter on.
</p>

@param name
       The name of the attribute to filter on.
@return Returns a reference to this object so that method calls can be chained together.
@see RegistrationFilterName
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/RegistrationFilter.java