Struct aws_sdk_devicefarm::types::builders::TestGridSessionBuilder
source · #[non_exhaustive]pub struct TestGridSessionBuilder { /* private fields */ }Expand description
A builder for TestGridSession.
Implementations§
source§impl TestGridSessionBuilder
impl TestGridSessionBuilder
sourcepub fn status(self, input: TestGridSessionStatus) -> Self
pub fn status(self, input: TestGridSessionStatus) -> Self
The state of the session.
sourcepub fn set_status(self, input: Option<TestGridSessionStatus>) -> Self
pub fn set_status(self, input: Option<TestGridSessionStatus>) -> Self
The state of the session.
sourcepub fn get_status(&self) -> &Option<TestGridSessionStatus>
pub fn get_status(&self) -> &Option<TestGridSessionStatus>
The state of the session.
sourcepub fn set_created(self, input: Option<DateTime>) -> Self
pub fn set_created(self, input: Option<DateTime>) -> Self
The time that the session was started.
sourcepub fn get_created(&self) -> &Option<DateTime>
pub fn get_created(&self) -> &Option<DateTime>
The time that the session was started.
sourcepub fn billing_minutes(self, input: f64) -> Self
pub fn billing_minutes(self, input: f64) -> Self
The number of billed minutes that were used for this session.
sourcepub fn set_billing_minutes(self, input: Option<f64>) -> Self
pub fn set_billing_minutes(self, input: Option<f64>) -> Self
The number of billed minutes that were used for this session.
sourcepub fn get_billing_minutes(&self) -> &Option<f64>
pub fn get_billing_minutes(&self) -> &Option<f64>
The number of billed minutes that were used for this session.
sourcepub fn selenium_properties(self, input: impl Into<String>) -> Self
pub fn selenium_properties(self, input: impl Into<String>) -> Self
A JSON object of options and parameters passed to the Selenium WebDriver.
sourcepub fn set_selenium_properties(self, input: Option<String>) -> Self
pub fn set_selenium_properties(self, input: Option<String>) -> Self
A JSON object of options and parameters passed to the Selenium WebDriver.
sourcepub fn get_selenium_properties(&self) -> &Option<String>
pub fn get_selenium_properties(&self) -> &Option<String>
A JSON object of options and parameters passed to the Selenium WebDriver.
sourcepub fn build(self) -> TestGridSession
pub fn build(self) -> TestGridSession
Consumes the builder and constructs a TestGridSession.
Trait Implementations§
source§impl Clone for TestGridSessionBuilder
impl Clone for TestGridSessionBuilder
source§fn clone(&self) -> TestGridSessionBuilder
fn clone(&self) -> TestGridSessionBuilder
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 TestGridSessionBuilder
impl Debug for TestGridSessionBuilder
source§impl Default for TestGridSessionBuilder
impl Default for TestGridSessionBuilder
source§fn default() -> TestGridSessionBuilder
fn default() -> TestGridSessionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TestGridSessionBuilder> for TestGridSessionBuilder
impl PartialEq<TestGridSessionBuilder> for TestGridSessionBuilder
source§fn eq(&self, other: &TestGridSessionBuilder) -> bool
fn eq(&self, other: &TestGridSessionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestGridSessionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TestGridSessionBuilder
impl Send for TestGridSessionBuilder
impl Sync for TestGridSessionBuilder
impl Unpin for TestGridSessionBuilder
impl UnwindSafe for TestGridSessionBuilder
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
Mutably borrows from an owned value. Read more