Class ClearRealmCacheRequestBuilder

All Implemented Interfaces:
RequestBuilder<ClearRealmCacheRequest,ClearRealmCacheResponse>

  • Constructor Details

    • ClearRealmCacheRequestBuilder

      public ClearRealmCacheRequestBuilder(ElasticsearchClient client)
  • Method Details

    • realms

      public ClearRealmCacheRequestBuilder realms(String... realms)
      Sets the realms for which caches will be evicted. When not set all the caches of all realms will be evicted.
      Parameters:
      realms - The realm names
    • usernames

      public ClearRealmCacheRequestBuilder usernames(String... usernames)
      Sets the usernames of the users that should be evicted from the caches. When not set, all users will be evicted.
      Parameters:
      usernames - The usernames