Struct aws_sdk_servicediscovery::operation::get_instance::builders::GetInstanceFluentBuilder
source · pub struct GetInstanceFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetInstance.
Gets information about a specified instance.
Implementations§
source§impl GetInstanceFluentBuilder
impl GetInstanceFluentBuilder
sourcepub fn as_input(&self) -> &GetInstanceInputBuilder
pub fn as_input(&self) -> &GetInstanceInputBuilder
Access the GetInstance as a reference.
sourcepub async fn send(
self
) -> Result<GetInstanceOutput, SdkError<GetInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<GetInstanceOutput, SdkError<GetInstanceError, 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<GetInstanceOutput, GetInstanceError, Self>
pub fn customize( self ) -> CustomizableOperation<GetInstanceOutput, GetInstanceError, 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 ID of the instance that you want to get information about.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance that you want to get information about.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance that you want to get information about.
Trait Implementations§
source§impl Clone for GetInstanceFluentBuilder
impl Clone for GetInstanceFluentBuilder
source§fn clone(&self) -> GetInstanceFluentBuilder
fn clone(&self) -> GetInstanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more