public void setTransitGatewayVpcAttachments(java.util.Collection<TransitGatewayVpcAttachment> transitGatewayVpcAttachments) {
        if (transitGatewayVpcAttachments == null) {
            this.transitGatewayVpcAttachments = null;
            return;
        }

        this.transitGatewayVpcAttachments = new com.amazonaws.internal.SdkInternalList<TransitGatewayVpcAttachment>(transitGatewayVpcAttachments);
    }
<p>
Information about the VPC attachments.
</p>

@param transitGatewayVpcAttachments
       Information about the VPC attachments.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeTransitGatewayVpcAttachmentsResult.java