public ListCustomRoutingPortMappingsByDestinationResult withDestinationPortMappings(DestinationPortMapping... destinationPortMappings) {
        if (this.destinationPortMappings == null) {
            setDestinationPortMappings(new java.util.ArrayList<DestinationPortMapping>(destinationPortMappings.length));
        }
        for (DestinationPortMapping ele : destinationPortMappings) {
            this.destinationPortMappings.add(ele);
        }
        return this;
    }
<p>
The port mappings for the endpoint IP address that you specified in the request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDestinationPortMappings(java.util.Collection)} or
{@link #withDestinationPortMappings(java.util.Collection)} if you want to override the existing values.
</p>

@param destinationPortMappings
       The port mappings for the endpoint IP address that you specified in the request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/ListCustomRoutingPortMappingsByDestinationResult.java