public UpdateStackRequest withAccessEndpoints(java.util.Collection<AccessEndpoint> accessEndpoints) {
        setAccessEndpoints(accessEndpoints);
        return this;
    }
<p>
The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0
only through the specified endpoints.
</p>

@param accessEndpoints
       The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to
       AppStream 2.0 only through the specified endpoints.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/UpdateStackRequest.java