Class LifecycleExplainManaged.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ilm.explain_lifecycle.LifecycleExplainManaged.Builder
- All Implemented Interfaces:
ObjectBuilder<LifecycleExplainManaged>
- Enclosing class:
- LifecycleExplainManaged
public static class LifecycleExplainManaged.Builder extends ObjectBuilderBase implements ObjectBuilder<LifecycleExplainManaged>
Builder for
LifecycleExplainManaged.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description LifecycleExplainManaged.Builderaction(java.lang.String value)Required - API name:actionLifecycleExplainManaged.BuilderactionTimeMillis(DateTime value)Required - API name:action_time_millisLifecycleExplainManaged.Builderage(Time value)Required - API name:ageLifecycleExplainManaged.Builderage(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Required - API name:ageLifecycleExplainManagedbuild()Builds aLifecycleExplainManaged.LifecycleExplainManaged.BuilderfailedStep(java.lang.String value)API name:failed_stepLifecycleExplainManaged.BuilderfailedStepRetryCount(java.lang.Integer value)API name:failed_step_retry_countLifecycleExplainManaged.Builderindex(java.lang.String value)Required - API name:indexLifecycleExplainManaged.BuilderindexCreationDateMillis(DateTime value)API name:index_creation_date_millisLifecycleExplainManaged.BuilderisAutoRetryableError(java.lang.Boolean value)API name:is_auto_retryable_errorLifecycleExplainManaged.BuilderlifecycleDateMillis(DateTime value)Required - API name:lifecycle_date_millisLifecycleExplainManaged.Builderphase(java.lang.String value)Required - API name:phaseLifecycleExplainManaged.BuilderphaseExecution(LifecycleExplainPhaseExecution value)Required - API name:phase_executionLifecycleExplainManaged.BuilderphaseExecution(java.util.function.Function<LifecycleExplainPhaseExecution.Builder,ObjectBuilder<LifecycleExplainPhaseExecution>> fn)Required - API name:phase_executionLifecycleExplainManaged.BuilderphaseTimeMillis(DateTime value)Required - API name:phase_time_millisLifecycleExplainManaged.Builderpolicy(java.lang.String value)Required - API name:policyLifecycleExplainManaged.Builderstep(java.lang.String value)Required - API name:stepLifecycleExplainManaged.BuilderstepInfo(java.lang.String key, JsonData value)API name:step_infoLifecycleExplainManaged.BuilderstepInfo(java.util.Map<java.lang.String,JsonData> map)API name:step_infoLifecycleExplainManaged.BuilderstepTimeMillis(DateTime value)Required - API name:step_time_millisLifecycleExplainManaged.BuildertimeSinceIndexCreation(Time value)API name:time_since_index_creationLifecycleExplainManaged.BuildertimeSinceIndexCreation(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:time_since_index_creationMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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
Required - API name:action -
actionTimeMillis
Required - API name:action_time_millis -
age
Required - API name:age -
age
public final LifecycleExplainManaged.Builder age(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Required - 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
Required - API name:index -
indexCreationDateMillis
API name:index_creation_date_millis -
isAutoRetryableError
public final LifecycleExplainManaged.Builder isAutoRetryableError(@Nullable java.lang.Boolean value)API name:is_auto_retryable_error -
lifecycleDateMillis
Required - API name:lifecycle_date_millis -
phase
Required - API name:phase -
phaseTimeMillis
Required - API name:phase_time_millis -
policy
Required - API name:policy -
step
Required - API name:step -
stepInfo
public final LifecycleExplainManaged.Builder stepInfo(java.util.Map<java.lang.String,JsonData> map)API name:step_infoAdds all entries of
maptostepInfo. -
stepInfo
API name:step_infoAdds an entry to
stepInfo. -
stepTimeMillis
Required - API name:step_time_millis -
phaseExecution
Required - API name:phase_execution -
phaseExecution
public final LifecycleExplainManaged.Builder phaseExecution(java.util.function.Function<LifecycleExplainPhaseExecution.Builder,ObjectBuilder<LifecycleExplainPhaseExecution>> fn)Required - 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 -
build
Builds aLifecycleExplainManaged.- Specified by:
buildin interfaceObjectBuilder<LifecycleExplainManaged>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-