public void setDestinationPorts(java.util.Collection<Integer> destinationPorts) {
        if (destinationPorts == null) {
            this.destinationPorts = null;
            return;
        }

        this.destinationPorts = new java.util.ArrayList<Integer>(destinationPorts);
    }
<p>
A list of specific Amazon EC2 instance ports (destination ports) in a subnet endpoint that you want to prevent
from receiving traffic.
</p>

@param destinationPorts
       A list of specific Amazon EC2 instance ports (destination ports) in a subnet endpoint that you want to
       prevent from receiving traffic.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/DenyCustomRoutingTrafficRequest.java