Struct aws_sdk_opensearch::types::builders::DurationBuilder   
source · #[non_exhaustive]pub struct DurationBuilder { /* private fields */ }Expand description
A builder for Duration.
Implementations§
source§impl DurationBuilder
 
impl DurationBuilder
sourcepub fn value(self, input: i64) -> Self
 
pub fn value(self, input: i64) -> Self
Integer to specify the value of a maintenance schedule duration.
sourcepub fn set_value(self, input: Option<i64>) -> Self
 
pub fn set_value(self, input: Option<i64>) -> Self
Integer to specify the value of a maintenance schedule duration.
sourcepub fn unit(self, input: TimeUnit) -> Self
 
pub fn unit(self, input: TimeUnit) -> Self
The unit of measurement for the duration of a maintenance schedule.
Trait Implementations§
source§impl Clone for DurationBuilder
 
impl Clone for DurationBuilder
source§fn clone(&self) -> DurationBuilder
 
fn clone(&self) -> DurationBuilder
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 DurationBuilder
 
impl Debug for DurationBuilder
source§impl Default for DurationBuilder
 
impl Default for DurationBuilder
source§fn default() -> DurationBuilder
 
fn default() -> DurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DurationBuilder> for DurationBuilder
 
impl PartialEq<DurationBuilder> for DurationBuilder
source§fn eq(&self, other: &DurationBuilder) -> bool
 
fn eq(&self, other: &DurationBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DurationBuilder
impl Send for DurationBuilder
impl Sync for DurationBuilder
impl Unpin for DurationBuilder
impl UnwindSafe for DurationBuilder
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