#[non_exhaustive]pub struct NamespaceSummaryBuilder { /* private fields */ }Expand description
A builder for NamespaceSummary.
Implementations§
source§impl NamespaceSummaryBuilder
impl NamespaceSummaryBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the namespace. When you create a namespace, Cloud Map automatically creates a Route 53 hosted zone that has the same name as the namespace.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the namespace. When you create a namespace, Cloud Map automatically creates a Route 53 hosted zone that has the same name as the namespace.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the namespace. When you create a namespace, Cloud Map automatically creates a Route 53 hosted zone that has the same name as the namespace.
sourcepub fn type(self, input: NamespaceType) -> Self
pub fn type(self, input: NamespaceType) -> Self
The type of the namespace, either public or private.
sourcepub fn set_type(self, input: Option<NamespaceType>) -> Self
pub fn set_type(self, input: Option<NamespaceType>) -> Self
The type of the namespace, either public or private.
sourcepub fn get_type(&self) -> &Option<NamespaceType>
pub fn get_type(&self) -> &Option<NamespaceType>
The type of the namespace, either public or private.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the namespace.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the namespace.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the namespace.
sourcepub fn service_count(self, input: i32) -> Self
pub fn service_count(self, input: i32) -> Self
The number of services that were created using the namespace.
sourcepub fn set_service_count(self, input: Option<i32>) -> Self
pub fn set_service_count(self, input: Option<i32>) -> Self
The number of services that were created using the namespace.
sourcepub fn get_service_count(&self) -> &Option<i32>
pub fn get_service_count(&self) -> &Option<i32>
The number of services that were created using the namespace.
sourcepub fn properties(self, input: NamespaceProperties) -> Self
pub fn properties(self, input: NamespaceProperties) -> Self
The properties of the namespace.
sourcepub fn set_properties(self, input: Option<NamespaceProperties>) -> Self
pub fn set_properties(self, input: Option<NamespaceProperties>) -> Self
The properties of the namespace.
sourcepub fn get_properties(&self) -> &Option<NamespaceProperties>
pub fn get_properties(&self) -> &Option<NamespaceProperties>
The properties of the namespace.
sourcepub fn create_date(self, input: DateTime) -> Self
pub fn create_date(self, input: DateTime) -> Self
The date and time that the namespace was created.
sourcepub fn set_create_date(self, input: Option<DateTime>) -> Self
pub fn set_create_date(self, input: Option<DateTime>) -> Self
The date and time that the namespace was created.
sourcepub fn get_create_date(&self) -> &Option<DateTime>
pub fn get_create_date(&self) -> &Option<DateTime>
The date and time that the namespace was created.
sourcepub fn build(self) -> NamespaceSummary
pub fn build(self) -> NamespaceSummary
Consumes the builder and constructs a NamespaceSummary.
Trait Implementations§
source§impl Clone for NamespaceSummaryBuilder
impl Clone for NamespaceSummaryBuilder
source§fn clone(&self) -> NamespaceSummaryBuilder
fn clone(&self) -> NamespaceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for NamespaceSummaryBuilder
impl Debug for NamespaceSummaryBuilder
source§impl Default for NamespaceSummaryBuilder
impl Default for NamespaceSummaryBuilder
source§fn default() -> NamespaceSummaryBuilder
fn default() -> NamespaceSummaryBuilder
source§impl PartialEq for NamespaceSummaryBuilder
impl PartialEq for NamespaceSummaryBuilder
source§fn eq(&self, other: &NamespaceSummaryBuilder) -> bool
fn eq(&self, other: &NamespaceSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.