Struct aws_sdk_devicefarm::operation::update_device_instance::builders::UpdateDeviceInstanceInputBuilder
source · #[non_exhaustive]pub struct UpdateDeviceInstanceInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDeviceInstanceInput
.
Implementations§
source§impl UpdateDeviceInstanceInputBuilder
impl UpdateDeviceInstanceInputBuilder
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.
sourcepub fn build(self) -> Result<UpdateDeviceInstanceInput, BuildError>
pub fn build(self) -> Result<UpdateDeviceInstanceInput, BuildError>
Consumes the builder and constructs a UpdateDeviceInstanceInput
.
source§impl UpdateDeviceInstanceInputBuilder
impl UpdateDeviceInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDeviceInstanceOutput, SdkError<UpdateDeviceInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDeviceInstanceOutput, SdkError<UpdateDeviceInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDeviceInstanceInputBuilder
impl Clone for UpdateDeviceInstanceInputBuilder
source§fn clone(&self) -> UpdateDeviceInstanceInputBuilder
fn clone(&self) -> UpdateDeviceInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateDeviceInstanceInputBuilder
impl Default for UpdateDeviceInstanceInputBuilder
source§fn default() -> UpdateDeviceInstanceInputBuilder
fn default() -> UpdateDeviceInstanceInputBuilder
source§impl PartialEq<UpdateDeviceInstanceInputBuilder> for UpdateDeviceInstanceInputBuilder
impl PartialEq<UpdateDeviceInstanceInputBuilder> for UpdateDeviceInstanceInputBuilder
source§fn eq(&self, other: &UpdateDeviceInstanceInputBuilder) -> bool
fn eq(&self, other: &UpdateDeviceInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.