public void setVirtualGatewayId(String virtualGatewayId) {
        this.virtualGatewayId = virtualGatewayId;
    }
<p>
The ID of the virtual private gateway or transit gateway.
</p>

@param virtualGatewayId
       The ID of the virtual private gateway or transit gateway.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/DescribeDirectConnectGatewayAssociationsRequest.java