#[non_exhaustive]pub struct SnapshotOptionsBuilder { /* private fields */ }
Expand description
A builder for SnapshotOptions
.
Implementations§
source§impl SnapshotOptionsBuilder
impl SnapshotOptionsBuilder
sourcepub fn automated_snapshot_start_hour(self, input: i32) -> Self
pub fn automated_snapshot_start_hour(self, input: i32) -> Self
Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0
hours.
sourcepub fn set_automated_snapshot_start_hour(self, input: Option<i32>) -> Self
pub fn set_automated_snapshot_start_hour(self, input: Option<i32>) -> Self
Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0
hours.
sourcepub fn get_automated_snapshot_start_hour(&self) -> &Option<i32>
pub fn get_automated_snapshot_start_hour(&self) -> &Option<i32>
Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0
hours.
sourcepub fn build(self) -> SnapshotOptions
pub fn build(self) -> SnapshotOptions
Consumes the builder and constructs a SnapshotOptions
.
Trait Implementations§
source§impl Clone for SnapshotOptionsBuilder
impl Clone for SnapshotOptionsBuilder
source§fn clone(&self) -> SnapshotOptionsBuilder
fn clone(&self) -> SnapshotOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SnapshotOptionsBuilder
impl Debug for SnapshotOptionsBuilder
source§impl Default for SnapshotOptionsBuilder
impl Default for SnapshotOptionsBuilder
source§fn default() -> SnapshotOptionsBuilder
fn default() -> SnapshotOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SnapshotOptionsBuilder
impl PartialEq for SnapshotOptionsBuilder
impl StructuralPartialEq for SnapshotOptionsBuilder
Auto Trait Implementations§
impl Freeze for SnapshotOptionsBuilder
impl RefUnwindSafe for SnapshotOptionsBuilder
impl Send for SnapshotOptionsBuilder
impl Sync for SnapshotOptionsBuilder
impl Unpin for SnapshotOptionsBuilder
impl UnwindSafe for SnapshotOptionsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.