public DenyCustomRoutingTrafficRequest withDestinationAddresses(java.util.Collection<String> destinationAddresses) {
        setDestinationAddresses(destinationAddresses);
        return this;
    }
<p>
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to prevent
from receiving traffic. The IP addresses must be a subset of the IP addresses allowed for the VPC subnet
associated with the endpoint group.
</p>

@param destinationAddresses
       A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to
       prevent from receiving traffic. The IP addresses must be a subset of the IP addresses allowed for the VPC
       subnet associated with the endpoint group.
@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/DenyCustomRoutingTrafficRequest.java