public DescribeRegistrationTypeDefinitionsRequest withRegistrationTypes(String... registrationTypes) {
        if (this.registrationTypes == null) {
            setRegistrationTypes(new java.util.ArrayList<String>(registrationTypes.length));
        }
        for (String ele : registrationTypes) {
            this.registrationTypes.add(ele);
        }
        return this;
    }
<p>
The type of registration form. The list of <b>RegistrationTypes</b> can be found using the
<a>DescribeRegistrationTypeDefinitions</a> action.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRegistrationTypes(java.util.Collection)} or {@link #withRegistrationTypes(java.util.Collection)} if
you want to override the existing values.
</p>

@param registrationTypes
       The type of registration form. The list of <b>RegistrationTypes</b> can be found using the
       <a>DescribeRegistrationTypeDefinitions</a> action.
@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/DescribeRegistrationTypeDefinitionsRequest.java