#[non_exhaustive]pub struct ModifyClusterMaintenanceInput {
pub cluster_identifier: Option<String>,
pub defer_maintenance: Option<bool>,
pub defer_maintenance_identifier: Option<String>,
pub defer_maintenance_start_time: Option<DateTime>,
pub defer_maintenance_end_time: Option<DateTime>,
pub defer_maintenance_duration: Option<i32>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cluster_identifier: Option<String>
A unique identifier for the cluster.
defer_maintenance: Option<bool>
A boolean indicating whether to enable the deferred maintenance window.
defer_maintenance_identifier: Option<String>
A unique identifier for the deferred maintenance window.
defer_maintenance_start_time: Option<DateTime>
A timestamp indicating the start time for the deferred maintenance window.
defer_maintenance_end_time: Option<DateTime>
A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
defer_maintenance_duration: Option<i32>
An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.
Implementations
sourceimpl ModifyClusterMaintenanceInput
impl ModifyClusterMaintenanceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyClusterMaintenance, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyClusterMaintenance, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyClusterMaintenance
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyClusterMaintenanceInput
.
sourceimpl ModifyClusterMaintenanceInput
impl ModifyClusterMaintenanceInput
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
A unique identifier for the cluster.
sourcepub fn defer_maintenance(&self) -> Option<bool>
pub fn defer_maintenance(&self) -> Option<bool>
A boolean indicating whether to enable the deferred maintenance window.
sourcepub fn defer_maintenance_identifier(&self) -> Option<&str>
pub fn defer_maintenance_identifier(&self) -> Option<&str>
A unique identifier for the deferred maintenance window.
sourcepub fn defer_maintenance_start_time(&self) -> Option<&DateTime>
pub fn defer_maintenance_start_time(&self) -> Option<&DateTime>
A timestamp indicating the start time for the deferred maintenance window.
sourcepub fn defer_maintenance_end_time(&self) -> Option<&DateTime>
pub fn defer_maintenance_end_time(&self) -> Option<&DateTime>
A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
sourcepub fn defer_maintenance_duration(&self) -> Option<i32>
pub fn defer_maintenance_duration(&self) -> Option<i32>
An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.
Trait Implementations
sourceimpl Clone for ModifyClusterMaintenanceInput
impl Clone for ModifyClusterMaintenanceInput
sourcefn clone(&self) -> ModifyClusterMaintenanceInput
fn clone(&self) -> ModifyClusterMaintenanceInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModifyClusterMaintenanceInput
impl Debug for ModifyClusterMaintenanceInput
sourceimpl PartialEq<ModifyClusterMaintenanceInput> for ModifyClusterMaintenanceInput
impl PartialEq<ModifyClusterMaintenanceInput> for ModifyClusterMaintenanceInput
sourcefn eq(&self, other: &ModifyClusterMaintenanceInput) -> bool
fn eq(&self, other: &ModifyClusterMaintenanceInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyClusterMaintenanceInput) -> bool
fn ne(&self, other: &ModifyClusterMaintenanceInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyClusterMaintenanceInput
Auto Trait Implementations
impl RefUnwindSafe for ModifyClusterMaintenanceInput
impl Send for ModifyClusterMaintenanceInput
impl Sync for ModifyClusterMaintenanceInput
impl Unpin for ModifyClusterMaintenanceInput
impl UnwindSafe for ModifyClusterMaintenanceInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more