Struct aws_sdk_codestarconnections::operation::create_connection::builders::CreateConnectionOutputBuilder
source · #[non_exhaustive]pub struct CreateConnectionOutputBuilder { /* private fields */ }
Expand description
A builder for CreateConnectionOutput
.
Implementations§
source§impl CreateConnectionOutputBuilder
impl CreateConnectionOutputBuilder
sourcepub fn connection_arn(self, input: impl Into<String>) -> Self
pub fn connection_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.
The ARN is never reused if the connection is deleted.
sourcepub fn set_connection_arn(self, input: Option<String>) -> Self
pub fn set_connection_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.
The ARN is never reused if the connection is deleted.
sourcepub fn get_connection_arn(&self) -> &Option<String>
pub fn get_connection_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.
The ARN is never reused if the connection is deleted.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Specifies the tags applied to the resource.
Specifies the tags applied to the resource.
Specifies the tags applied to the resource.
sourcepub fn build(self) -> Result<CreateConnectionOutput, BuildError>
pub fn build(self) -> Result<CreateConnectionOutput, BuildError>
Consumes the builder and constructs a CreateConnectionOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateConnectionOutputBuilder
impl Clone for CreateConnectionOutputBuilder
source§fn clone(&self) -> CreateConnectionOutputBuilder
fn clone(&self) -> CreateConnectionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateConnectionOutputBuilder
impl Default for CreateConnectionOutputBuilder
source§fn default() -> CreateConnectionOutputBuilder
fn default() -> CreateConnectionOutputBuilder
source§impl PartialEq for CreateConnectionOutputBuilder
impl PartialEq for CreateConnectionOutputBuilder
source§fn eq(&self, other: &CreateConnectionOutputBuilder) -> bool
fn eq(&self, other: &CreateConnectionOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateConnectionOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateConnectionOutputBuilder
impl RefUnwindSafe for CreateConnectionOutputBuilder
impl Send for CreateConnectionOutputBuilder
impl Sync for CreateConnectionOutputBuilder
impl Unpin for CreateConnectionOutputBuilder
impl UnwindSafe for CreateConnectionOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more