public CreateFleetRequest withEC2InboundPermissions(IpPermission... eC2InboundPermissions) {
        if (this.eC2InboundPermissions == null) {
            setEC2InboundPermissions(new java.util.ArrayList<IpPermission>(eC2InboundPermissions.length));
        }
        for (IpPermission ele : eC2InboundPermissions) {
            this.eC2InboundPermissions.add(ele);
        }
        return this;
    }
<p>
The IP address ranges and port settings that allow inbound traffic to access game server processes and other
processes on this fleet. Set this parameter for EC2 and container fleets. You can leave this parameter empty when
creating the fleet, but you must call <a>UpdateFleetPortSettings</a> to set it before players can connect to game
sessions. As a best practice, we recommend opening ports for remote access only when you need them and closing
them when you're finished. For Realtime Servers fleets, Amazon GameLift automatically sets TCP and UDP ranges.
</p>
<p>
To manage inbound access for a container fleet, set this parameter to the same port numbers that you set for the
fleet's connection port range. During the life of the fleet, update this parameter to control which connection
ports are open to inbound traffic.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEC2InboundPermissions(java.util.Collection)} or
{@link #withEC2InboundPermissions(java.util.Collection)} if you want to override the existing values.
</p>

@param eC2InboundPermissions
       The IP address ranges and port settings that allow inbound traffic to access game server processes and
       other processes on this fleet. Set this parameter for EC2 and container fleets. You can leave this
       parameter empty when creating the fleet, but you must call <a>UpdateFleetPortSettings</a> to set it before
       players can connect to game sessions. As a best practice, we recommend opening ports for remote access
       only when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon
       GameLift automatically sets TCP and UDP ranges.</p>
       <p>
       To manage inbound access for a container fleet, set this parameter to the same port numbers that you set
       for the fleet's connection port range. During the life of the fleet, update this parameter to control
       which connection ports are open to inbound traffic.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/CreateFleetRequest.java