Struct aws_sdk_devicefarm::types::builders::DeviceInstanceBuilder
source · #[non_exhaustive]pub struct DeviceInstanceBuilder { /* private fields */ }Expand description
A builder for DeviceInstance.
Implementations§
source§impl DeviceInstanceBuilder
impl DeviceInstanceBuilder
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 device_arn(self, input: impl Into<String>) -> Self
pub fn device_arn(self, input: impl Into<String>) -> Self
The ARN of the device.
sourcepub fn set_device_arn(self, input: Option<String>) -> Self
pub fn set_device_arn(self, input: Option<String>) -> Self
The ARN of the device.
sourcepub fn get_device_arn(&self) -> &Option<String>
pub fn get_device_arn(&self) -> &Option<String>
The ARN of the device.
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 describe 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 describe the device instance.
sourcepub fn get_labels(&self) -> &Option<Vec<String>>
pub fn get_labels(&self) -> &Option<Vec<String>>
An array of strings that describe the device instance.
sourcepub fn status(self, input: InstanceStatus) -> Self
pub fn status(self, input: InstanceStatus) -> Self
The status of the device instance. Valid values are listed here.
sourcepub fn set_status(self, input: Option<InstanceStatus>) -> Self
pub fn set_status(self, input: Option<InstanceStatus>) -> Self
The status of the device instance. Valid values are listed here.
sourcepub fn get_status(&self) -> &Option<InstanceStatus>
pub fn get_status(&self) -> &Option<InstanceStatus>
The status of the device instance. Valid values are listed here.
sourcepub fn udid(self, input: impl Into<String>) -> Self
pub fn udid(self, input: impl Into<String>) -> Self
Unique device identifier for the device instance.
sourcepub fn set_udid(self, input: Option<String>) -> Self
pub fn set_udid(self, input: Option<String>) -> Self
Unique device identifier for the device instance.
sourcepub fn instance_profile(self, input: InstanceProfile) -> Self
pub fn instance_profile(self, input: InstanceProfile) -> Self
A object that contains information about the instance profile.
sourcepub fn set_instance_profile(self, input: Option<InstanceProfile>) -> Self
pub fn set_instance_profile(self, input: Option<InstanceProfile>) -> Self
A object that contains information about the instance profile.
sourcepub fn get_instance_profile(&self) -> &Option<InstanceProfile>
pub fn get_instance_profile(&self) -> &Option<InstanceProfile>
A object that contains information about the instance profile.
sourcepub fn build(self) -> DeviceInstance
pub fn build(self) -> DeviceInstance
Consumes the builder and constructs a DeviceInstance.
Trait Implementations§
source§impl Clone for DeviceInstanceBuilder
impl Clone for DeviceInstanceBuilder
source§fn clone(&self) -> DeviceInstanceBuilder
fn clone(&self) -> DeviceInstanceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeviceInstanceBuilder
impl Debug for DeviceInstanceBuilder
source§impl Default for DeviceInstanceBuilder
impl Default for DeviceInstanceBuilder
source§fn default() -> DeviceInstanceBuilder
fn default() -> DeviceInstanceBuilder
source§impl PartialEq for DeviceInstanceBuilder
impl PartialEq for DeviceInstanceBuilder
impl StructuralPartialEq for DeviceInstanceBuilder
Auto Trait Implementations§
impl Freeze for DeviceInstanceBuilder
impl RefUnwindSafe for DeviceInstanceBuilder
impl Send for DeviceInstanceBuilder
impl Sync for DeviceInstanceBuilder
impl Unpin for DeviceInstanceBuilder
impl UnwindSafe for DeviceInstanceBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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