Struct aws_sdk_opensearch::operation::get_domain_maintenance_status::builders::GetDomainMaintenanceStatusInputBuilder
source · #[non_exhaustive]pub struct GetDomainMaintenanceStatusInputBuilder { /* private fields */ }Expand description
A builder for GetDomainMaintenanceStatusInput.
Implementations§
source§impl GetDomainMaintenanceStatusInputBuilder
impl GetDomainMaintenanceStatusInputBuilder
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.
This field is required.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 maintenance_id(self, input: impl Into<String>) -> Self
pub fn maintenance_id(self, input: impl Into<String>) -> Self
The request ID of the maintenance action.
This field is required.sourcepub fn set_maintenance_id(self, input: Option<String>) -> Self
pub fn set_maintenance_id(self, input: Option<String>) -> Self
The request ID of the maintenance action.
sourcepub fn get_maintenance_id(&self) -> &Option<String>
pub fn get_maintenance_id(&self) -> &Option<String>
The request ID of the maintenance action.
sourcepub fn build(self) -> Result<GetDomainMaintenanceStatusInput, BuildError>
pub fn build(self) -> Result<GetDomainMaintenanceStatusInput, BuildError>
Consumes the builder and constructs a GetDomainMaintenanceStatusInput.
source§impl GetDomainMaintenanceStatusInputBuilder
impl GetDomainMaintenanceStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetDomainMaintenanceStatusOutput, SdkError<GetDomainMaintenanceStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetDomainMaintenanceStatusOutput, SdkError<GetDomainMaintenanceStatusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDomainMaintenanceStatusInputBuilder
impl Clone for GetDomainMaintenanceStatusInputBuilder
source§fn clone(&self) -> GetDomainMaintenanceStatusInputBuilder
fn clone(&self) -> GetDomainMaintenanceStatusInputBuilder
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 Default for GetDomainMaintenanceStatusInputBuilder
impl Default for GetDomainMaintenanceStatusInputBuilder
source§fn default() -> GetDomainMaintenanceStatusInputBuilder
fn default() -> GetDomainMaintenanceStatusInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetDomainMaintenanceStatusInputBuilder
impl PartialEq for GetDomainMaintenanceStatusInputBuilder
source§fn eq(&self, other: &GetDomainMaintenanceStatusInputBuilder) -> bool
fn eq(&self, other: &GetDomainMaintenanceStatusInputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetDomainMaintenanceStatusInputBuilder
Auto Trait Implementations§
impl Freeze for GetDomainMaintenanceStatusInputBuilder
impl RefUnwindSafe for GetDomainMaintenanceStatusInputBuilder
impl Send for GetDomainMaintenanceStatusInputBuilder
impl Sync for GetDomainMaintenanceStatusInputBuilder
impl Unpin for GetDomainMaintenanceStatusInputBuilder
impl UnwindSafe for GetDomainMaintenanceStatusInputBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.