public ModifyVpcEndpointServiceConfigurationRequest withAddSupportedIpAddressTypes(String... addSupportedIpAddressTypes) {
        if (this.addSupportedIpAddressTypes == null) {
            setAddSupportedIpAddressTypes(new com.amazonaws.internal.SdkInternalList<String>(addSupportedIpAddressTypes.length));
        }
        for (String ele : addSupportedIpAddressTypes) {
            this.addSupportedIpAddressTypes.add(ele);
        }
        return this;
    }
<p>
The IP address types to add to your service configuration.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAddSupportedIpAddressTypes(java.util.Collection)} or
{@link #withAddSupportedIpAddressTypes(java.util.Collection)} if you want to override the existing values.
</p>

@param addSupportedIpAddressTypes
       The IP address types to add to your service configuration.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcEndpointServiceConfigurationRequest.java