#[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 ==.