#[non_exhaustive]pub struct DomainMaintenanceDetailsBuilder { /* private fields */ }Expand description
A builder for DomainMaintenanceDetails.
Implementations§
source§impl DomainMaintenanceDetailsBuilder
impl DomainMaintenanceDetailsBuilder
sourcepub fn maintenance_id(self, input: impl Into<String>) -> Self
pub fn maintenance_id(self, input: impl Into<String>) -> Self
The ID of the requested action.
sourcepub fn set_maintenance_id(self, input: Option<String>) -> Self
pub fn set_maintenance_id(self, input: Option<String>) -> Self
The ID of the requested action.
sourcepub fn get_maintenance_id(&self) -> &Option<String>
pub fn get_maintenance_id(&self) -> &Option<String>
The ID of the requested action.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain.
sourcepub fn action(self, input: MaintenanceType) -> Self
pub fn action(self, input: MaintenanceType) -> Self
The name of the action.
sourcepub fn set_action(self, input: Option<MaintenanceType>) -> Self
pub fn set_action(self, input: Option<MaintenanceType>) -> Self
The name of the action.
sourcepub fn get_action(&self) -> &Option<MaintenanceType>
pub fn get_action(&self) -> &Option<MaintenanceType>
The name of the action.
sourcepub fn set_node_id(self, input: Option<String>) -> Self
pub fn set_node_id(self, input: Option<String>) -> Self
The ID of the data node.
sourcepub fn get_node_id(&self) -> &Option<String>
pub fn get_node_id(&self) -> &Option<String>
The ID of the data node.
sourcepub fn status(self, input: MaintenanceStatus) -> Self
pub fn status(self, input: MaintenanceStatus) -> Self
The status of the action.
sourcepub fn set_status(self, input: Option<MaintenanceStatus>) -> Self
pub fn set_status(self, input: Option<MaintenanceStatus>) -> Self
The status of the action.
sourcepub fn get_status(&self) -> &Option<MaintenanceStatus>
pub fn get_status(&self) -> &Option<MaintenanceStatus>
The status of the action.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message for the action.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message for the action.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message for the action.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time at which the action was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time at which the action was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time at which the action was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The time at which the action was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The time at which the action was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The time at which the action was updated.
sourcepub fn build(self) -> DomainMaintenanceDetails
pub fn build(self) -> DomainMaintenanceDetails
Consumes the builder and constructs a DomainMaintenanceDetails.
Trait Implementations§
source§impl Clone for DomainMaintenanceDetailsBuilder
impl Clone for DomainMaintenanceDetailsBuilder
source§fn clone(&self) -> DomainMaintenanceDetailsBuilder
fn clone(&self) -> DomainMaintenanceDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DomainMaintenanceDetailsBuilder
impl Default for DomainMaintenanceDetailsBuilder
source§fn default() -> DomainMaintenanceDetailsBuilder
fn default() -> DomainMaintenanceDetailsBuilder
source§impl PartialEq for DomainMaintenanceDetailsBuilder
impl PartialEq for DomainMaintenanceDetailsBuilder
source§fn eq(&self, other: &DomainMaintenanceDetailsBuilder) -> bool
fn eq(&self, other: &DomainMaintenanceDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DomainMaintenanceDetailsBuilder
Auto Trait Implementations§
impl Freeze for DomainMaintenanceDetailsBuilder
impl RefUnwindSafe for DomainMaintenanceDetailsBuilder
impl Send for DomainMaintenanceDetailsBuilder
impl Sync for DomainMaintenanceDetailsBuilder
impl Unpin for DomainMaintenanceDetailsBuilder
impl UnwindSafe for DomainMaintenanceDetailsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more