#[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
pub 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
>
Creates a new builder-style object to manufacture ModifyClusterMaintenanceInput
A unique identifier for the cluster.
A boolean indicating whether to enable the deferred maintenance window.
A unique identifier for the deferred maintenance window.
A timestamp indicating the start time for the deferred maintenance window.
A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ModifyClusterMaintenanceInput
impl Sync for ModifyClusterMaintenanceInput
impl Unpin for ModifyClusterMaintenanceInput
impl UnwindSafe for ModifyClusterMaintenanceInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more