public Connection withLagId(String lagId) {
        setLagId(lagId);
        return this;
    }
<p>
The ID of the LAG.
</p>

@param lagId
       The ID of the LAG.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/Connection.java