public CreateEndpointAccessResult withVpcSecurityGroups(java.util.Collection<VpcSecurityGroupMembership> vpcSecurityGroups) {
        setVpcSecurityGroups(vpcSecurityGroups);
        return this;
    }
<p>
The security groups associated with the endpoint.
</p>

@param vpcSecurityGroups
       The security groups associated with the endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/CreateEndpointAccessResult.java