Struct aws_sdk_opensearch::model::duration::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Duration.
Implementations§
source§impl Builder
impl Builder
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.