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 class
GetLifecycleRequest.Builder
Builder 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>
_ENDPOINT
Endpoint "ilm.get_lifecycle
". -
Method Summary
Modifier and Type Method Description Time
masterTimeout()
Period to wait for a connection to the master node.java.lang.String
name()
Identifier for the policy.static GetLifecycleRequest
of(java.util.function.Function<GetLifecycleRequest.Builder,ObjectBuilder<GetLifecycleRequest>> fn)
Time
timeout()
Period to wait for a response.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
-