public Connection withAwsLogicalDeviceId(String awsLogicalDeviceId) {
        setAwsLogicalDeviceId(awsLogicalDeviceId);
        return this;
    }
<p>
The Direct Connect endpoint that terminates the logical connection. This device might be different than the
device that terminates the physical connection.
</p>

@param awsLogicalDeviceId
       The Direct Connect endpoint that terminates the logical connection. This device might be different than
       the device that terminates the physical connection.
@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