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 get_project_arn(&self) -> &Option<String>
pub fn get_project_arn(&self) -> &Option<String>
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.
This field is required.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 get_expires_in_seconds(&self) -> &Option<i32>
pub fn get_expires_in_seconds(&self) -> &Option<i32>
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.
source§impl CreateTestGridUrlInputBuilder
impl CreateTestGridUrlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTestGridUrlOutput, SdkError<CreateTestGridUrlError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTestGridUrlOutput, SdkError<CreateTestGridUrlError, HttpResponse>>
Sends a request with this input using the given client.
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 for CreateTestGridUrlInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for CreateTestGridUrlInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateTestGridUrlInputBuilder
impl Send for CreateTestGridUrlInputBuilder
impl Sync for CreateTestGridUrlInputBuilder
impl Unpin for CreateTestGridUrlInputBuilder
impl UnwindSafe for CreateTestGridUrlInputBuilder
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
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>
Creates a shared type from an unshared type.