Class LifecycleExplainManaged.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<LifecycleExplainManaged.Builder>
co.elastic.clients.elasticsearch.ilm.explain_lifecycle.LifecycleExplainManaged.Builder
- All Implemented Interfaces:
WithJson<LifecycleExplainManaged.Builder>
,ObjectBuilder<LifecycleExplainManaged>
- Enclosing class:
- LifecycleExplainManaged
public static class LifecycleExplainManaged.Builder extends WithJsonObjectBuilderBase<LifecycleExplainManaged.Builder> implements ObjectBuilder<LifecycleExplainManaged>
Builder for
LifecycleExplainManaged
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
-
Builder
public Builder()
-
-
Method Details
-
action
API name:action
-
actionTime
API name:action_time
-
actionTimeMillis
API name:action_time_millis
-
age
API name:age
-
age
public final LifecycleExplainManaged.Builder age(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:age
-
failedStep
API name:failed_step
-
failedStepRetryCount
public final LifecycleExplainManaged.Builder failedStepRetryCount(@Nullable java.lang.Integer value)API name:failed_step_retry_count
-
index
API name:index
-
indexCreationDate
API name:index_creation_date
-
indexCreationDateMillis
public final LifecycleExplainManaged.Builder indexCreationDateMillis(@Nullable java.lang.Long value)API name:index_creation_date_millis
-
isAutoRetryableError
public final LifecycleExplainManaged.Builder isAutoRetryableError(@Nullable java.lang.Boolean value)API name:is_auto_retryable_error
-
lifecycleDate
API name:lifecycle_date
-
lifecycleDateMillis
API name:lifecycle_date_millis
-
phase
Required - API name:phase
-
phaseTime
API name:phase_time
-
phaseTimeMillis
API name:phase_time_millis
-
policy
Required - API name:policy
-
step
API name:step
-
stepInfo
public final LifecycleExplainManaged.Builder stepInfo(java.util.Map<java.lang.String,JsonData> map)API name:step_info
Adds all entries of
map
tostepInfo
. -
stepInfo
API name:step_info
Adds an entry to
stepInfo
. -
stepTime
API name:step_time
-
stepTimeMillis
API name:step_time_millis
-
phaseExecution
public final LifecycleExplainManaged.Builder phaseExecution(@Nullable LifecycleExplainPhaseExecution value)API name:phase_execution
-
phaseExecution
public final LifecycleExplainManaged.Builder phaseExecution(java.util.function.Function<LifecycleExplainPhaseExecution.Builder,ObjectBuilder<LifecycleExplainPhaseExecution>> fn)API name:phase_execution
-
timeSinceIndexCreation
API name:time_since_index_creation
-
timeSinceIndexCreation
public final LifecycleExplainManaged.Builder timeSinceIndexCreation(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:time_since_index_creation
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<LifecycleExplainManaged.Builder>
-
build
Builds aLifecycleExplainManaged
.- Specified by:
build
in interfaceObjectBuilder<LifecycleExplainManaged>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-