Struct aws_sdk_elasticsearch::types::builders::DomainInfoBuilder
source · #[non_exhaustive]pub struct DomainInfoBuilder { /* private fields */ }
Expand description
A builder for DomainInfo
.
Implementations§
source§impl DomainInfoBuilder
impl DomainInfoBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
Specifies the DomainName
.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
Specifies the DomainName
.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
Specifies the DomainName
.
sourcepub fn engine_type(self, input: EngineType) -> Self
pub fn engine_type(self, input: EngineType) -> Self
Specifies the EngineType
of the domain.
sourcepub fn set_engine_type(self, input: Option<EngineType>) -> Self
pub fn set_engine_type(self, input: Option<EngineType>) -> Self
Specifies the EngineType
of the domain.
sourcepub fn get_engine_type(&self) -> &Option<EngineType>
pub fn get_engine_type(&self) -> &Option<EngineType>
Specifies the EngineType
of the domain.
sourcepub fn build(self) -> DomainInfo
pub fn build(self) -> DomainInfo
Consumes the builder and constructs a DomainInfo
.
Trait Implementations§
source§impl Clone for DomainInfoBuilder
impl Clone for DomainInfoBuilder
source§fn clone(&self) -> DomainInfoBuilder
fn clone(&self) -> DomainInfoBuilder
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 DomainInfoBuilder
impl Debug for DomainInfoBuilder
source§impl Default for DomainInfoBuilder
impl Default for DomainInfoBuilder
source§fn default() -> DomainInfoBuilder
fn default() -> DomainInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DomainInfoBuilder
impl PartialEq for DomainInfoBuilder
source§fn eq(&self, other: &DomainInfoBuilder) -> bool
fn eq(&self, other: &DomainInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainInfoBuilder
Auto Trait Implementations§
impl Freeze for DomainInfoBuilder
impl RefUnwindSafe for DomainInfoBuilder
impl Send for DomainInfoBuilder
impl Sync for DomainInfoBuilder
impl Unpin for DomainInfoBuilder
impl UnwindSafe for DomainInfoBuilder
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> 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.