public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceType(String virtualInterfaceType) {
        setVirtualInterfaceType(virtualInterfaceType);
        return this;
    }
<p>
The type of virtual interface. The possible values are <code>private</code>, <code>public</code> and
<code>transit</code>.
</p>

@param virtualInterfaceType
       The type of virtual interface. The possible values are <code>private</code>, <code>public</code> and
       <code>transit</code>.
@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/AllocatePrivateVirtualInterfaceResult.java