public AllocateConnectionOnInterconnectRequest withInterconnectId(String interconnectId) {
        setInterconnectId(interconnectId);
        return this;
    }
<p>
The ID of the interconnect on which the connection will be provisioned.
</p>

@param interconnectId
       The ID of the interconnect on which the connection will be provisioned.
@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/AllocateConnectionOnInterconnectRequest.java