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
impl StructuralPartialEq for DeviceMinutesBuilder
Auto Trait Implementations§
impl Freeze for DeviceMinutesBuilder
impl RefUnwindSafe for DeviceMinutesBuilder
impl Send for DeviceMinutesBuilder
impl Sync for DeviceMinutesBuilder
impl Unpin for DeviceMinutesBuilder
impl UnwindSafe for DeviceMinutesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more