Struct aws_sdk_devicefarm::model::device_instance::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DeviceInstance.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 build(self) -> DeviceInstance
pub fn build(self) -> DeviceInstance
Consumes the builder and constructs a DeviceInstance.