public Connection withAwsDeviceV2(String awsDeviceV2) {
        setAwsDeviceV2(awsDeviceV2);
        return this;
    }
<p>
The Direct Connect endpoint that terminates the physical connection.
</p>

@param awsDeviceV2
       The Direct Connect endpoint 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