public void setNumberOfConnections(Integer numberOfConnections) {
        this.numberOfConnections = numberOfConnections;
    }
<p>
The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum
of four connections when the port speed is 1Gbps or 10Gbps, or two when the port speed is 100Gbps or 400Gbps.
</p>

@param numberOfConnections
       The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a
       maximum of four connections when the port speed is 1Gbps or 10Gbps, or two when the port speed is 100Gbps
       or 400Gbps.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/CreateLagRequest.java