Class AutoscalingPolicy.AbstractBuilder<BuilderT extends AutoscalingPolicy.AbstractBuilder<BuilderT>>

Direct Known Subclasses:
AutoscalingPolicy.Builder, GetAutoscalingPolicyResponse.Builder
Enclosing class:

protected abstract static class AutoscalingPolicy.AbstractBuilder<BuilderT extends AutoscalingPolicy.AbstractBuilder<BuilderT>>
extends ObjectBuilderBase
  • Constructor Summary

    Modifier Constructor Description
    protected AbstractBuilder()  
  • Method Summary

    Modifier and Type Method Description
    BuilderT deciders​(java.lang.String key, JsonData value)
    Required - Decider settings
    BuilderT deciders​(java.util.Map<java.lang.String,​JsonData> map)
    Required - Decider settings
    BuilderT roles​(java.lang.String value, java.lang.String... values)
    Required - API name: roles
    BuilderT roles​(java.util.List<java.lang.String> list)
    Required - API name: roles
    protected abstract BuilderT self()  

    Methods inherited from class co.elastic.clients.util.ObjectBuilderBase

    _checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractBuilder

      protected AbstractBuilder()
  • Method Details

    • roles

      public final BuilderT roles​(java.util.List<java.lang.String> list)
      Required - API name: roles

      Adds all elements of list to roles.

    • roles

      public final BuilderT roles​(java.lang.String value, java.lang.String... values)
      Required - API name: roles

      Adds one or more values to roles.

    • deciders

      public final BuilderT deciders​(java.util.Map<java.lang.String,​JsonData> map)
      Required - Decider settings

      API name: deciders

      Adds all entries of map to deciders.

    • deciders

      public final BuilderT deciders​(java.lang.String key, JsonData value)
      Required - Decider settings

      API name: deciders

      Adds an entry to deciders.

    • self

      protected abstract BuilderT self()