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.
This field is required.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 for UpdateDeviceInstanceInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for UpdateDeviceInstanceInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDeviceInstanceInputBuilder
impl RefUnwindSafe for UpdateDeviceInstanceInputBuilder
impl Send for UpdateDeviceInstanceInputBuilder
impl Sync for UpdateDeviceInstanceInputBuilder
impl Unpin for UpdateDeviceInstanceInputBuilder
impl UnwindSafe for UpdateDeviceInstanceInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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