public void setPortOverrides(java.util.Collection<PortOverride> portOverrides) {
        if (portOverrides == null) {
            this.portOverrides = null;
            return;
        }

        this.portOverrides = new java.util.ArrayList<PortOverride>(portOverrides);
    }
<p>
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For
example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your
accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html">
Overriding listener ports</a> in the <i>Global Accelerator Developer Guide</i>.
</p>

@param portOverrides
       Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
       For example, you can create a port override in which the listener receives user traffic on ports 80 and
       443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.</p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html">
       Overriding listener ports</a> in the <i>Global Accelerator Developer Guide</i>.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/CreateEndpointGroupRequest.java