Struct aws_sdk_devicefarm::operation::create_test_grid_project::builders::CreateTestGridProjectInputBuilder
source · #[non_exhaustive]pub struct CreateTestGridProjectInputBuilder { /* private fields */ }
Expand description
A builder for CreateTestGridProjectInput
.
Implementations§
source§impl CreateTestGridProjectInputBuilder
impl CreateTestGridProjectInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Human-readable name of the Selenium testing project.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Human-readable name of the Selenium testing project.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Human-readable description of the project.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Human-readable description of the project.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Human-readable description of the project.
sourcepub fn vpc_config(self, input: TestGridVpcConfig) -> Self
pub fn vpc_config(self, input: TestGridVpcConfig) -> Self
The VPC security groups and subnets that are attached to a project.
sourcepub fn set_vpc_config(self, input: Option<TestGridVpcConfig>) -> Self
pub fn set_vpc_config(self, input: Option<TestGridVpcConfig>) -> Self
The VPC security groups and subnets that are attached to a project.
sourcepub fn get_vpc_config(&self) -> &Option<TestGridVpcConfig>
pub fn get_vpc_config(&self) -> &Option<TestGridVpcConfig>
The VPC security groups and subnets that are attached to a project.
sourcepub fn build(self) -> Result<CreateTestGridProjectInput, BuildError>
pub fn build(self) -> Result<CreateTestGridProjectInput, BuildError>
Consumes the builder and constructs a CreateTestGridProjectInput
.
source§impl CreateTestGridProjectInputBuilder
impl CreateTestGridProjectInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTestGridProjectOutput, SdkError<CreateTestGridProjectError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTestGridProjectOutput, SdkError<CreateTestGridProjectError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTestGridProjectInputBuilder
impl Clone for CreateTestGridProjectInputBuilder
source§fn clone(&self) -> CreateTestGridProjectInputBuilder
fn clone(&self) -> CreateTestGridProjectInputBuilder
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 CreateTestGridProjectInputBuilder
impl Default for CreateTestGridProjectInputBuilder
source§fn default() -> CreateTestGridProjectInputBuilder
fn default() -> CreateTestGridProjectInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateTestGridProjectInputBuilder
impl PartialEq for CreateTestGridProjectInputBuilder
source§fn eq(&self, other: &CreateTestGridProjectInputBuilder) -> bool
fn eq(&self, other: &CreateTestGridProjectInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTestGridProjectInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTestGridProjectInputBuilder
impl RefUnwindSafe for CreateTestGridProjectInputBuilder
impl Send for CreateTestGridProjectInputBuilder
impl Sync for CreateTestGridProjectInputBuilder
impl Unpin for CreateTestGridProjectInputBuilder
impl UnwindSafe for CreateTestGridProjectInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.