public void setAccessEndpoints(java.util.Collection<AccessEndpoint> accessEndpoints) {
        if (accessEndpoints == null) {
            this.accessEndpoints = null;
            return;
        }

        this.accessEndpoints = new java.util.ArrayList<AccessEndpoint>(accessEndpoints);
    }
<p>
The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack can connect to AppStream
2.0 only through the specified endpoints.
</p>

@param accessEndpoints
       The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack can connect to
       AppStream 2.0 only through the specified endpoints.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/Stack.java