Struct aws_sdk_elasticsearch::model::Duration
source · #[non_exhaustive]pub struct Duration { /* private fields */ }
Expand description
Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.
Implementations§
source§impl Duration
impl Duration
sourcepub fn value(&self) -> i64
pub fn value(&self) -> i64
Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.
sourcepub fn unit(&self) -> Option<&TimeUnit>
pub fn unit(&self) -> Option<&TimeUnit>
Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.