Struct aws_sdk_apprunner::operation::create_connection::builders::CreateConnectionInputBuilder
source · #[non_exhaustive]pub struct CreateConnectionInputBuilder { /* private fields */ }
Expand description
A builder for CreateConnectionInput
.
Implementations§
source§impl CreateConnectionInputBuilder
impl CreateConnectionInputBuilder
sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.
This field is required.sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.
sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.
sourcepub fn provider_type(self, input: ProviderType) -> Self
pub fn provider_type(self, input: ProviderType) -> Self
The source repository provider.
This field is required.sourcepub fn set_provider_type(self, input: Option<ProviderType>) -> Self
pub fn set_provider_type(self, input: Option<ProviderType>) -> Self
The source repository provider.
sourcepub fn get_provider_type(&self) -> &Option<ProviderType>
pub fn get_provider_type(&self) -> &Option<ProviderType>
The source repository provider.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
sourcepub fn build(self) -> Result<CreateConnectionInput, BuildError>
pub fn build(self) -> Result<CreateConnectionInput, BuildError>
Consumes the builder and constructs a CreateConnectionInput
.
source§impl CreateConnectionInputBuilder
impl CreateConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateConnectionOutput, SdkError<CreateConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateConnectionOutput, SdkError<CreateConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateConnectionInputBuilder
impl Clone for CreateConnectionInputBuilder
source§fn clone(&self) -> CreateConnectionInputBuilder
fn clone(&self) -> CreateConnectionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateConnectionInputBuilder
impl Debug for CreateConnectionInputBuilder
source§impl Default for CreateConnectionInputBuilder
impl Default for CreateConnectionInputBuilder
source§fn default() -> CreateConnectionInputBuilder
fn default() -> CreateConnectionInputBuilder
source§impl PartialEq for CreateConnectionInputBuilder
impl PartialEq for CreateConnectionInputBuilder
source§fn eq(&self, other: &CreateConnectionInputBuilder) -> bool
fn eq(&self, other: &CreateConnectionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.