public VpcAttachmentOptions withAttachToVpc(Boolean attachToVpc) {
        setAttachToVpc(attachToVpc);
        return this;
    }
<p>
Whether a VPC is attached to the pipeline.
</p>

@param attachToVpc
       Whether a VPC is attached to the pipeline.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-osis/src/main/java/com/amazonaws/services/osis/model/VpcAttachmentOptions.java