Struct aws_sdk_servicediscovery::operation::create_http_namespace::builders::CreateHttpNamespaceInputBuilder
source · #[non_exhaustive]pub struct CreateHttpNamespaceInputBuilder { /* private fields */ }Expand description
A builder for CreateHttpNamespaceInput.
Implementations§
source§impl CreateHttpNamespaceInputBuilder
impl CreateHttpNamespaceInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateHttpNamespaceInput, BuildError>
pub fn build(self) -> Result<CreateHttpNamespaceInput, BuildError>
Consumes the builder and constructs a CreateHttpNamespaceInput.
source§impl CreateHttpNamespaceInputBuilder
impl CreateHttpNamespaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateHttpNamespaceOutput, SdkError<CreateHttpNamespaceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateHttpNamespaceOutput, SdkError<CreateHttpNamespaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateHttpNamespaceInputBuilder
impl Clone for CreateHttpNamespaceInputBuilder
source§fn clone(&self) -> CreateHttpNamespaceInputBuilder
fn clone(&self) -> CreateHttpNamespaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateHttpNamespaceInputBuilder
impl Default for CreateHttpNamespaceInputBuilder
source§fn default() -> CreateHttpNamespaceInputBuilder
fn default() -> CreateHttpNamespaceInputBuilder
source§impl PartialEq for CreateHttpNamespaceInputBuilder
impl PartialEq for CreateHttpNamespaceInputBuilder
source§fn eq(&self, other: &CreateHttpNamespaceInputBuilder) -> bool
fn eq(&self, other: &CreateHttpNamespaceInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateHttpNamespaceInputBuilder
Auto Trait Implementations§
impl Freeze for CreateHttpNamespaceInputBuilder
impl RefUnwindSafe for CreateHttpNamespaceInputBuilder
impl Send for CreateHttpNamespaceInputBuilder
impl Sync for CreateHttpNamespaceInputBuilder
impl Unpin for CreateHttpNamespaceInputBuilder
impl UnwindSafe for CreateHttpNamespaceInputBuilder
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
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)
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>
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>
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 more