#[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
source§impl PartialEq for NamespacePropertiesBuilder
impl PartialEq for NamespacePropertiesBuilder
source§fn eq(&self, other: &NamespacePropertiesBuilder) -> bool
fn eq(&self, other: &NamespacePropertiesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NamespacePropertiesBuilder
Auto Trait Implementations§
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> 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>
Creates a shared type from an unshared type.