Struct aws_sdk_servicediscovery::operation::discover_instances_revision::builders::DiscoverInstancesRevisionInputBuilder
source · #[non_exhaustive]pub struct DiscoverInstancesRevisionInputBuilder { /* private fields */ }
Expand description
A builder for DiscoverInstancesRevisionInput
.
Implementations§
source§impl DiscoverInstancesRevisionInputBuilder
impl DiscoverInstancesRevisionInputBuilder
sourcepub fn namespace_name(self, input: impl Into<String>) -> Self
pub fn namespace_name(self, input: impl Into<String>) -> Self
The HttpName
name of the namespace. It's found in the HttpProperties
member of the Properties
member of the namespace.
sourcepub fn set_namespace_name(self, input: Option<String>) -> Self
pub fn set_namespace_name(self, input: Option<String>) -> Self
The HttpName
name of the namespace. It's found in the HttpProperties
member of the Properties
member of the namespace.
sourcepub fn get_namespace_name(&self) -> &Option<String>
pub fn get_namespace_name(&self) -> &Option<String>
The HttpName
name of the namespace. It's found in the HttpProperties
member of the Properties
member of the namespace.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the service that you specified when you registered the instance.
This field is required.sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the service that you specified when you registered the instance.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the service that you specified when you registered the instance.
sourcepub fn build(self) -> Result<DiscoverInstancesRevisionInput, BuildError>
pub fn build(self) -> Result<DiscoverInstancesRevisionInput, BuildError>
Consumes the builder and constructs a DiscoverInstancesRevisionInput
.
source§impl DiscoverInstancesRevisionInputBuilder
impl DiscoverInstancesRevisionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DiscoverInstancesRevisionOutput, SdkError<DiscoverInstancesRevisionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DiscoverInstancesRevisionOutput, SdkError<DiscoverInstancesRevisionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DiscoverInstancesRevisionInputBuilder
impl Clone for DiscoverInstancesRevisionInputBuilder
source§fn clone(&self) -> DiscoverInstancesRevisionInputBuilder
fn clone(&self) -> DiscoverInstancesRevisionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DiscoverInstancesRevisionInputBuilder
impl Default for DiscoverInstancesRevisionInputBuilder
source§fn default() -> DiscoverInstancesRevisionInputBuilder
fn default() -> DiscoverInstancesRevisionInputBuilder
source§impl PartialEq for DiscoverInstancesRevisionInputBuilder
impl PartialEq for DiscoverInstancesRevisionInputBuilder
source§fn eq(&self, other: &DiscoverInstancesRevisionInputBuilder) -> bool
fn eq(&self, other: &DiscoverInstancesRevisionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DiscoverInstancesRevisionInputBuilder
Auto Trait Implementations§
impl Freeze for DiscoverInstancesRevisionInputBuilder
impl RefUnwindSafe for DiscoverInstancesRevisionInputBuilder
impl Send for DiscoverInstancesRevisionInputBuilder
impl Sync for DiscoverInstancesRevisionInputBuilder
impl Unpin for DiscoverInstancesRevisionInputBuilder
impl UnwindSafe for DiscoverInstancesRevisionInputBuilder
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> 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