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 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 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 build(self) -> Result<UpdateDeviceInstanceInput, BuildError>
pub fn build(self) -> Result<UpdateDeviceInstanceInput, BuildError>
Consumes the builder and constructs a UpdateDeviceInstanceInput.
Trait Implementations§
source§impl Clone for UpdateDeviceInstanceInputBuilder
impl Clone for UpdateDeviceInstanceInputBuilder
source§fn clone(&self) -> UpdateDeviceInstanceInputBuilder
fn clone(&self) -> UpdateDeviceInstanceInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for UpdateDeviceInstanceInputBuilder
impl Default for UpdateDeviceInstanceInputBuilder
source§fn default() -> UpdateDeviceInstanceInputBuilder
fn default() -> UpdateDeviceInstanceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateDeviceInstanceInputBuilder> for UpdateDeviceInstanceInputBuilder
impl PartialEq<UpdateDeviceInstanceInputBuilder> for UpdateDeviceInstanceInputBuilder
source§fn eq(&self, other: &UpdateDeviceInstanceInputBuilder) -> bool
fn eq(&self, other: &UpdateDeviceInstanceInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.