public java.util.List<VpcAttachment> getVpcAttachments() {
        if (vpcAttachments == null) {
            vpcAttachments = new com.amazonaws.internal.SdkInternalList<VpcAttachment>();
        }
        return vpcAttachments;
    }
public java . util . List < VpcAttachment > getVpcAttachments ( ) { if ( vpcAttachments == null ) { vpcAttachments = new com . amazonaws . internal . SdkInternalList < VpcAttachment > ( ) ; } return vpcAttachments ; }
<p>
Any VPCs attached to the virtual private gateway.
</p>

@return Any VPCs attached to the virtual private gateway.