Struct aws_sdk_devicefarm::model::device_minutes::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeviceMinutes.
Implementations§
source§impl Builder
impl Builder
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.