Struct elasticsearch::fleet::FleetGlobalCheckpoints
source · pub struct FleetGlobalCheckpoints<'a, 'b> { /* private fields */ }
Expand description
Builder for the Fleet Global Checkpoints API
Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.
Implementations
sourceimpl<'a, 'b> FleetGlobalCheckpoints<'a, 'b>
impl<'a, 'b> FleetGlobalCheckpoints<'a, 'b>
sourcepub fn new(
transport: &'a Transport,
parts: FleetGlobalCheckpointsParts<'b>
) -> Self
pub fn new(
transport: &'a Transport,
parts: FleetGlobalCheckpointsParts<'b>
) -> Self
Creates a new instance of FleetGlobalCheckpoints with the specified API parts
sourcepub fn checkpoints(self, checkpoints: &'b [&'b str]) -> Self
pub fn checkpoints(self, checkpoints: &'b [&'b str]) -> Self
Comma separated list of checkpoints
sourcepub fn error_trace(self, error_trace: bool) -> Self
pub fn error_trace(self, error_trace: bool) -> Self
Include the stack trace of returned errors.
sourcepub fn filter_path(self, filter_path: &'b [&'b str]) -> Self
pub fn filter_path(self, filter_path: &'b [&'b str]) -> Self
A comma-separated list of filters used to reduce the response.
sourcepub fn header(self, key: HeaderName, value: HeaderValue) -> Self
pub fn header(self, key: HeaderName, value: HeaderValue) -> Self
Adds a HTTP header
sourcepub fn request_timeout(self, timeout: Duration) -> Self
pub fn request_timeout(self, timeout: Duration) -> Self
Sets a request timeout for this API call.
The timeout is applied from when the request starts connecting until the response body has finished.
sourcepub fn source(self, source: &'b str) -> Self
pub fn source(self, source: &'b str) -> Self
The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
sourcepub fn timeout(self, timeout: &'b str) -> Self
pub fn timeout(self, timeout: &'b str) -> Self
Timeout to wait for global checkpoint to advance
sourcepub fn wait_for_advance(self, wait_for_advance: bool) -> Self
pub fn wait_for_advance(self, wait_for_advance: bool) -> Self
Whether to wait for the global checkpoint to advance past the specified current checkpoints
sourcepub fn wait_for_index(self, wait_for_index: bool) -> Self
pub fn wait_for_index(self, wait_for_index: bool) -> Self
Whether to wait for the target index to exist and all primary shards be active
Trait Implementations
sourceimpl<'a, 'b> Clone for FleetGlobalCheckpoints<'a, 'b>
impl<'a, 'b> Clone for FleetGlobalCheckpoints<'a, 'b>
sourcefn clone(&self) -> FleetGlobalCheckpoints<'a, 'b>
fn clone(&self) -> FleetGlobalCheckpoints<'a, 'b>
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more