public CreateAccessPointRequest withVpcConfiguration(VpcConfiguration vpcConfiguration) {
        setVpcConfiguration(vpcConfiguration);
        return this;
    }
<p>
If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual
private cloud (VPC).
</p>
<note>
<p>
This is required for creating an access point for Amazon S3 on Outposts buckets.
</p>
</note>

@param vpcConfiguration
       If you include this field, Amazon S3 restricts access to this access point to requests from the specified
       virtual private cloud (VPC).</p> <note>
       <p>
       This is required for creating an access point for Amazon S3 on Outposts buckets.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/CreateAccessPointRequest.java