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<DeviceInstanceBuilder> for DeviceInstanceBuilder
impl PartialEq<DeviceInstanceBuilder> for DeviceInstanceBuilder
source§fn eq(&self, other: &DeviceInstanceBuilder) -> bool
fn eq(&self, other: &DeviceInstanceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.