Struct aws_sdk_ec2::types::builders::MaintenanceDetailsBuilder
source · #[non_exhaustive]pub struct MaintenanceDetailsBuilder { /* private fields */ }Expand description
A builder for MaintenanceDetails.
Implementations§
source§impl MaintenanceDetailsBuilder
impl MaintenanceDetailsBuilder
sourcepub fn pending_maintenance(self, input: impl Into<String>) -> Self
pub fn pending_maintenance(self, input: impl Into<String>) -> Self
Verify existence of a pending maintenance.
sourcepub fn set_pending_maintenance(self, input: Option<String>) -> Self
pub fn set_pending_maintenance(self, input: Option<String>) -> Self
Verify existence of a pending maintenance.
sourcepub fn maintenance_auto_applied_after(self, input: DateTime) -> Self
pub fn maintenance_auto_applied_after(self, input: DateTime) -> Self
The timestamp after which Amazon Web Services will automatically apply maintenance.
sourcepub fn set_maintenance_auto_applied_after(self, input: Option<DateTime>) -> Self
pub fn set_maintenance_auto_applied_after(self, input: Option<DateTime>) -> Self
The timestamp after which Amazon Web Services will automatically apply maintenance.
sourcepub fn last_maintenance_applied(self, input: DateTime) -> Self
pub fn last_maintenance_applied(self, input: DateTime) -> Self
Timestamp of last applied maintenance.
sourcepub fn set_last_maintenance_applied(self, input: Option<DateTime>) -> Self
pub fn set_last_maintenance_applied(self, input: Option<DateTime>) -> Self
Timestamp of last applied maintenance.
sourcepub fn build(self) -> MaintenanceDetails
pub fn build(self) -> MaintenanceDetails
Consumes the builder and constructs a MaintenanceDetails.
Trait Implementations§
source§impl Clone for MaintenanceDetailsBuilder
impl Clone for MaintenanceDetailsBuilder
source§fn clone(&self) -> MaintenanceDetailsBuilder
fn clone(&self) -> MaintenanceDetailsBuilder
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 MaintenanceDetailsBuilder
impl Debug for MaintenanceDetailsBuilder
source§impl Default for MaintenanceDetailsBuilder
impl Default for MaintenanceDetailsBuilder
source§fn default() -> MaintenanceDetailsBuilder
fn default() -> MaintenanceDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<MaintenanceDetailsBuilder> for MaintenanceDetailsBuilder
impl PartialEq<MaintenanceDetailsBuilder> for MaintenanceDetailsBuilder
source§fn eq(&self, other: &MaintenanceDetailsBuilder) -> bool
fn eq(&self, other: &MaintenanceDetailsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.