Struct aws_sdk_devicefarm::types::builders::DeviceMinutesBuilder
source · #[non_exhaustive]pub struct DeviceMinutesBuilder { /* private fields */ }Expand description
A builder for DeviceMinutes.
Implementations§
source§impl DeviceMinutesBuilder
impl DeviceMinutesBuilder
sourcepub fn total(self, input: f64) -> Self
pub fn total(self, input: f64) -> Self
When specified, represents the total minutes used by the resource to run tests.
sourcepub fn set_total(self, input: Option<f64>) -> Self
pub fn set_total(self, input: Option<f64>) -> Self
When specified, represents the total minutes used by the resource to run tests.
sourcepub fn metered(self, input: f64) -> Self
pub fn metered(self, input: f64) -> Self
When specified, represents only the sum of metered minutes used by the resource to run tests.
sourcepub fn set_metered(self, input: Option<f64>) -> Self
pub fn set_metered(self, input: Option<f64>) -> Self
When specified, represents only the sum of metered minutes used by the resource to run tests.
sourcepub fn unmetered(self, input: f64) -> Self
pub fn unmetered(self, input: f64) -> Self
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
sourcepub fn set_unmetered(self, input: Option<f64>) -> Self
pub fn set_unmetered(self, input: Option<f64>) -> Self
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
sourcepub fn build(self) -> DeviceMinutes
pub fn build(self) -> DeviceMinutes
Consumes the builder and constructs a DeviceMinutes.
Trait Implementations§
source§impl Clone for DeviceMinutesBuilder
impl Clone for DeviceMinutesBuilder
source§fn clone(&self) -> DeviceMinutesBuilder
fn clone(&self) -> DeviceMinutesBuilder
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 Debug for DeviceMinutesBuilder
impl Debug for DeviceMinutesBuilder
source§impl Default for DeviceMinutesBuilder
impl Default for DeviceMinutesBuilder
source§fn default() -> DeviceMinutesBuilder
fn default() -> DeviceMinutesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeviceMinutesBuilder> for DeviceMinutesBuilder
impl PartialEq<DeviceMinutesBuilder> for DeviceMinutesBuilder
source§fn eq(&self, other: &DeviceMinutesBuilder) -> bool
fn eq(&self, other: &DeviceMinutesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.