Struct aws_sdk_devicefarm::operation::create_test_grid_url::builders::CreateTestGridUrlInputBuilder
source · #[non_exhaustive]pub struct CreateTestGridUrlInputBuilder { /* private fields */ }Expand description
A builder for CreateTestGridUrlInput.
Implementations§
source§impl CreateTestGridUrlInputBuilder
impl CreateTestGridUrlInputBuilder
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
ARN (from CreateTestGridProject or ListTestGridProjects) to associate with the short-term URL.
sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
ARN (from CreateTestGridProject or ListTestGridProjects) to associate with the short-term URL.
sourcepub fn expires_in_seconds(self, input: i32) -> Self
pub fn expires_in_seconds(self, input: i32) -> Self
Lifetime, in seconds, of the URL.
sourcepub fn set_expires_in_seconds(self, input: Option<i32>) -> Self
pub fn set_expires_in_seconds(self, input: Option<i32>) -> Self
Lifetime, in seconds, of the URL.
sourcepub fn build(self) -> Result<CreateTestGridUrlInput, BuildError>
pub fn build(self) -> Result<CreateTestGridUrlInput, BuildError>
Consumes the builder and constructs a CreateTestGridUrlInput.
Trait Implementations§
source§impl Clone for CreateTestGridUrlInputBuilder
impl Clone for CreateTestGridUrlInputBuilder
source§fn clone(&self) -> CreateTestGridUrlInputBuilder
fn clone(&self) -> CreateTestGridUrlInputBuilder
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 Default for CreateTestGridUrlInputBuilder
impl Default for CreateTestGridUrlInputBuilder
source§fn default() -> CreateTestGridUrlInputBuilder
fn default() -> CreateTestGridUrlInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateTestGridUrlInputBuilder> for CreateTestGridUrlInputBuilder
impl PartialEq<CreateTestGridUrlInputBuilder> for CreateTestGridUrlInputBuilder
source§fn eq(&self, other: &CreateTestGridUrlInputBuilder) -> bool
fn eq(&self, other: &CreateTestGridUrlInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.