Struct aws_sdk_servicediscovery::operation::update_http_namespace::builders::UpdateHttpNamespaceInputBuilder
source · #[non_exhaustive]pub struct UpdateHttpNamespaceInputBuilder { /* private fields */ }Expand description
A builder for UpdateHttpNamespaceInput.
Implementations§
source§impl UpdateHttpNamespaceInputBuilder
impl UpdateHttpNamespaceInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the namespace that you want to update.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the namespace that you want to update.
sourcepub fn updater_request_id(self, input: impl Into<String>) -> Self
pub fn updater_request_id(self, input: impl Into<String>) -> Self
A unique string that identifies the request and that allows failed UpdateHttpNamespace requests to be retried without the risk of running the operation twice. UpdaterRequestId can be any unique string (for example, a date/timestamp).
sourcepub fn set_updater_request_id(self, input: Option<String>) -> Self
pub fn set_updater_request_id(self, input: Option<String>) -> Self
A unique string that identifies the request and that allows failed UpdateHttpNamespace requests to be retried without the risk of running the operation twice. UpdaterRequestId can be any unique string (for example, a date/timestamp).
sourcepub fn get_updater_request_id(&self) -> &Option<String>
pub fn get_updater_request_id(&self) -> &Option<String>
A unique string that identifies the request and that allows failed UpdateHttpNamespace requests to be retried without the risk of running the operation twice. UpdaterRequestId can be any unique string (for example, a date/timestamp).
sourcepub fn namespace(self, input: HttpNamespaceChange) -> Self
pub fn namespace(self, input: HttpNamespaceChange) -> Self
Updated properties for the the HTTP namespace.
This field is required.sourcepub fn set_namespace(self, input: Option<HttpNamespaceChange>) -> Self
pub fn set_namespace(self, input: Option<HttpNamespaceChange>) -> Self
Updated properties for the the HTTP namespace.
sourcepub fn get_namespace(&self) -> &Option<HttpNamespaceChange>
pub fn get_namespace(&self) -> &Option<HttpNamespaceChange>
Updated properties for the the HTTP namespace.
sourcepub fn build(self) -> Result<UpdateHttpNamespaceInput, BuildError>
pub fn build(self) -> Result<UpdateHttpNamespaceInput, BuildError>
Consumes the builder and constructs a UpdateHttpNamespaceInput.
source§impl UpdateHttpNamespaceInputBuilder
impl UpdateHttpNamespaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateHttpNamespaceOutput, SdkError<UpdateHttpNamespaceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateHttpNamespaceOutput, SdkError<UpdateHttpNamespaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateHttpNamespaceInputBuilder
impl Clone for UpdateHttpNamespaceInputBuilder
source§fn clone(&self) -> UpdateHttpNamespaceInputBuilder
fn clone(&self) -> UpdateHttpNamespaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateHttpNamespaceInputBuilder
impl Default for UpdateHttpNamespaceInputBuilder
source§fn default() -> UpdateHttpNamespaceInputBuilder
fn default() -> UpdateHttpNamespaceInputBuilder
source§impl PartialEq for UpdateHttpNamespaceInputBuilder
impl PartialEq for UpdateHttpNamespaceInputBuilder
source§fn eq(&self, other: &UpdateHttpNamespaceInputBuilder) -> bool
fn eq(&self, other: &UpdateHttpNamespaceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.