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 get_total(&self) -> &Option<f64>
pub fn get_total(&self) -> &Option<f64>
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 get_metered(&self) -> &Option<f64>
pub fn get_metered(&self) -> &Option<f64>
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 get_unmetered(&self) -> &Option<f64>
pub fn get_unmetered(&self) -> &Option<f64>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for DeviceMinutesBuilder
impl PartialEq for DeviceMinutesBuilder
source§fn eq(&self, other: &DeviceMinutesBuilder) -> bool
fn eq(&self, other: &DeviceMinutesBuilder) -> bool
self and other values to be equal, and is used
by ==.