Struct aws_sdk_servicediscovery::operation::deregister_instance::builders::DeregisterInstanceFluentBuilder
source · pub struct DeregisterInstanceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeregisterInstance
.
Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the specified instance.
Implementations§
source§impl DeregisterInstanceFluentBuilder
impl DeregisterInstanceFluentBuilder
sourcepub fn as_input(&self) -> &DeregisterInstanceInputBuilder
pub fn as_input(&self) -> &DeregisterInstanceInputBuilder
Access the DeregisterInstance as a reference.
sourcepub async fn send(
self
) -> Result<DeregisterInstanceOutput, SdkError<DeregisterInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<DeregisterInstanceOutput, SdkError<DeregisterInstanceError, 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<DeregisterInstanceOutput, DeregisterInstanceError, Self>
pub fn customize( self ) -> CustomizableOperation<DeregisterInstanceOutput, DeregisterInstanceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn service_id(self, input: impl Into<String>) -> Self
pub fn service_id(self, input: impl Into<String>) -> Self
The ID of the service that the instance is associated with.
sourcepub fn set_service_id(self, input: Option<String>) -> Self
pub fn set_service_id(self, input: Option<String>) -> Self
The ID of the service that the instance is associated with.
sourcepub fn get_service_id(&self) -> &Option<String>
pub fn get_service_id(&self) -> &Option<String>
The ID of the service that the instance is associated with.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The value that you specified for Id
in the RegisterInstance request.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The value that you specified for Id
in the RegisterInstance request.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The value that you specified for Id
in the RegisterInstance request.
Trait Implementations§
source§impl Clone for DeregisterInstanceFluentBuilder
impl Clone for DeregisterInstanceFluentBuilder
source§fn clone(&self) -> DeregisterInstanceFluentBuilder
fn clone(&self) -> DeregisterInstanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DeregisterInstanceFluentBuilder
impl !RefUnwindSafe for DeregisterInstanceFluentBuilder
impl Send for DeregisterInstanceFluentBuilder
impl Sync for DeregisterInstanceFluentBuilder
impl Unpin for DeregisterInstanceFluentBuilder
impl !UnwindSafe for DeregisterInstanceFluentBuilder
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