Struct aws_sdk_servicediscovery::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder
source · pub struct CreateHttpNamespaceFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateHttpNamespace.
Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a DiscoverInstances request but can't be discovered using DNS.
For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide.
Implementations§
source§impl CreateHttpNamespaceFluentBuilder
impl CreateHttpNamespaceFluentBuilder
sourcepub fn as_input(&self) -> &CreateHttpNamespaceInputBuilder
pub fn as_input(&self) -> &CreateHttpNamespaceInputBuilder
Access the CreateHttpNamespace as a reference.
sourcepub async fn send(
self
) -> Result<CreateHttpNamespaceOutput, SdkError<CreateHttpNamespaceError, HttpResponse>>
pub async fn send( self ) -> Result<CreateHttpNamespaceOutput, SdkError<CreateHttpNamespaceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateHttpNamespaceOutput, CreateHttpNamespaceError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateHttpNamespaceOutput, CreateHttpNamespaceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name that you want to assign to this namespace.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name that you want to assign to this namespace.
sourcepub fn creator_request_id(self, input: impl Into<String>) -> Self
pub fn creator_request_id(self, input: impl Into<String>) -> Self
A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).
sourcepub fn set_creator_request_id(self, input: Option<String>) -> Self
pub fn set_creator_request_id(self, input: Option<String>) -> Self
A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).
sourcepub fn get_creator_request_id(&self) -> &Option<String>
pub fn get_creator_request_id(&self) -> &Option<String>
A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).
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.
Appends an item to Tags.
To override the contents of this collection use set_tags.
The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
Trait Implementations§
source§impl Clone for CreateHttpNamespaceFluentBuilder
impl Clone for CreateHttpNamespaceFluentBuilder
source§fn clone(&self) -> CreateHttpNamespaceFluentBuilder
fn clone(&self) -> CreateHttpNamespaceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more