Struct aws_sdk_codestarconnections::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 provider_type(self, input: ProviderType) -> Self
pub fn provider_type(self, input: ProviderType) -> Self
The name of the external provider where your third-party code repository is configured.
sourcepub fn set_provider_type(self, input: Option<ProviderType>) -> Self
pub fn set_provider_type(self, input: Option<ProviderType>) -> Self
The name of the external provider where your third-party code repository is configured.
sourcepub fn get_provider_type(&self) -> &Option<ProviderType>
pub fn get_provider_type(&self) -> &Option<ProviderType>
The name of the external provider where your third-party code repository is configured.
sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The name of the connection to be created.
sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The name of the connection to be created.
sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
The name of the connection to be created.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The key-value pair to use when tagging the resource.
The key-value pair to use when tagging the resource.
The key-value pair to use when tagging the resource.
sourcepub fn host_arn(self, input: impl Into<String>) -> Self
pub fn host_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the host associated with the connection to be created.
sourcepub fn set_host_arn(self, input: Option<String>) -> Self
pub fn set_host_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the host associated with the connection to be created.
sourcepub fn get_host_arn(&self) -> &Option<String>
pub fn get_host_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the host associated with the connection to be created.
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 ==
.