Class GetLifecycleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ilm.GetLifecycleRequest
public class GetLifecycleRequest extends RequestBase
Retrieves a lifecycle policy.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetLifecycleRequest.BuilderBuilder forGetLifecycleRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetLifecycleRequest,GetLifecycleResponse,ErrorResponse>_ENDPOINTEndpoint "ilm.get_lifecycle". -
Method Summary
Modifier and Type Method Description TimemasterTimeout()Period to wait for a connection to the master node.java.lang.Stringname()Identifier for the policy.static GetLifecycleRequestof(java.util.function.Function<GetLifecycleRequest.Builder,ObjectBuilder<GetLifecycleRequest>> fn)Timetimeout()Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "ilm.get_lifecycle".
-
-
Method Details
-
of
public static GetLifecycleRequest of(java.util.function.Function<GetLifecycleRequest.Builder,ObjectBuilder<GetLifecycleRequest>> fn) -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
name
@Nullable public final java.lang.String name()Identifier for the policy.API name:
policy -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-