public SelectValidation withMaxChoices(Integer maxChoices) {
        setMaxChoices(maxChoices);
        return this;
    }
<p>
The maximum number of choices for the select.
</p>

@param maxChoices
       The maximum number of choices for the select.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/SelectValidation.java