#[non_exhaustive]pub struct NamespacePropertiesBuilder { /* private fields */ }Expand description
A builder for NamespaceProperties.
Implementations§
source§impl NamespacePropertiesBuilder
impl NamespacePropertiesBuilder
sourcepub fn dns_properties(self, input: DnsProperties) -> Self
pub fn dns_properties(self, input: DnsProperties) -> Self
A complex type that contains the ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.
sourcepub fn set_dns_properties(self, input: Option<DnsProperties>) -> Self
pub fn set_dns_properties(self, input: Option<DnsProperties>) -> Self
A complex type that contains the ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.
sourcepub fn get_dns_properties(&self) -> &Option<DnsProperties>
pub fn get_dns_properties(&self) -> &Option<DnsProperties>
A complex type that contains the ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.
sourcepub fn http_properties(self, input: HttpProperties) -> Self
pub fn http_properties(self, input: HttpProperties) -> Self
A complex type that contains the name of an HTTP namespace.
sourcepub fn set_http_properties(self, input: Option<HttpProperties>) -> Self
pub fn set_http_properties(self, input: Option<HttpProperties>) -> Self
A complex type that contains the name of an HTTP namespace.
sourcepub fn get_http_properties(&self) -> &Option<HttpProperties>
pub fn get_http_properties(&self) -> &Option<HttpProperties>
A complex type that contains the name of an HTTP namespace.
sourcepub fn build(self) -> NamespaceProperties
pub fn build(self) -> NamespaceProperties
Consumes the builder and constructs a NamespaceProperties.
Trait Implementations§
source§impl Clone for NamespacePropertiesBuilder
impl Clone for NamespacePropertiesBuilder
source§fn clone(&self) -> NamespacePropertiesBuilder
fn clone(&self) -> NamespacePropertiesBuilder
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 NamespacePropertiesBuilder
impl Debug for NamespacePropertiesBuilder
source§impl Default for NamespacePropertiesBuilder
impl Default for NamespacePropertiesBuilder
source§fn default() -> NamespacePropertiesBuilder
fn default() -> NamespacePropertiesBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for NamespacePropertiesBuilder
Auto Trait Implementations§
impl Freeze for NamespacePropertiesBuilder
impl RefUnwindSafe for NamespacePropertiesBuilder
impl Send for NamespacePropertiesBuilder
impl Sync for NamespacePropertiesBuilder
impl Unpin for NamespacePropertiesBuilder
impl UnwindSafe for NamespacePropertiesBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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.