Struct aws_sdk_devicefarm::operation::update_device_instance::builders::UpdateDeviceInstanceFluentBuilder
source · pub struct UpdateDeviceInstanceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDeviceInstance
.
Updates information about a private device instance.
Implementations§
source§impl UpdateDeviceInstanceFluentBuilder
impl UpdateDeviceInstanceFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDeviceInstanceInputBuilder
pub fn as_input(&self) -> &UpdateDeviceInstanceInputBuilder
Access the UpdateDeviceInstance as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDeviceInstanceOutput, SdkError<UpdateDeviceInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDeviceInstanceOutput, SdkError<UpdateDeviceInstanceError, 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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateDeviceInstanceOutput, UpdateDeviceInstanceError>, SdkError<UpdateDeviceInstanceError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateDeviceInstanceOutput, UpdateDeviceInstanceError>, SdkError<UpdateDeviceInstanceError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the device instance.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the device instance.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the device instance.
sourcepub fn profile_arn(self, input: impl Into<String>) -> Self
pub fn profile_arn(self, input: impl Into<String>) -> Self
The ARN of the profile that you want to associate with the device instance.
sourcepub fn set_profile_arn(self, input: Option<String>) -> Self
pub fn set_profile_arn(self, input: Option<String>) -> Self
The ARN of the profile that you want to associate with the device instance.
sourcepub fn get_profile_arn(&self) -> &Option<String>
pub fn get_profile_arn(&self) -> &Option<String>
The ARN of the profile that you want to associate with the device instance.
sourcepub fn labels(self, input: impl Into<String>) -> Self
pub fn labels(self, input: impl Into<String>) -> Self
Appends an item to labels
.
To override the contents of this collection use set_labels
.
An array of strings that you want to associate with the device instance.
sourcepub fn set_labels(self, input: Option<Vec<String>>) -> Self
pub fn set_labels(self, input: Option<Vec<String>>) -> Self
An array of strings that you want to associate with the device instance.
sourcepub fn get_labels(&self) -> &Option<Vec<String>>
pub fn get_labels(&self) -> &Option<Vec<String>>
An array of strings that you want to associate with the device instance.
Trait Implementations§
source§impl Clone for UpdateDeviceInstanceFluentBuilder
impl Clone for UpdateDeviceInstanceFluentBuilder
source§fn clone(&self) -> UpdateDeviceInstanceFluentBuilder
fn clone(&self) -> UpdateDeviceInstanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more