Struct aws_sdk_eventbridge::operation::update_connection::builders::UpdateConnectionInputBuilder
source · #[non_exhaustive]pub struct UpdateConnectionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateConnectionInput
.
Implementations§
source§impl UpdateConnectionInputBuilder
impl UpdateConnectionInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the connection to update.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the connection.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the connection.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the connection.
The type of authorization to use for the connection.
The type of authorization to use for the connection.
The type of authorization to use for the connection.
sourcepub fn auth_parameters(
self,
input: UpdateConnectionAuthRequestParameters
) -> Self
pub fn auth_parameters( self, input: UpdateConnectionAuthRequestParameters ) -> Self
The authorization parameters to use for the connection.
sourcepub fn set_auth_parameters(
self,
input: Option<UpdateConnectionAuthRequestParameters>
) -> Self
pub fn set_auth_parameters( self, input: Option<UpdateConnectionAuthRequestParameters> ) -> Self
The authorization parameters to use for the connection.
sourcepub fn get_auth_parameters(
&self
) -> &Option<UpdateConnectionAuthRequestParameters>
pub fn get_auth_parameters( &self ) -> &Option<UpdateConnectionAuthRequestParameters>
The authorization parameters to use for the connection.
sourcepub fn build(self) -> Result<UpdateConnectionInput, BuildError>
pub fn build(self) -> Result<UpdateConnectionInput, BuildError>
Consumes the builder and constructs a UpdateConnectionInput
.
source§impl UpdateConnectionInputBuilder
impl UpdateConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateConnectionOutput, SdkError<UpdateConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateConnectionOutput, SdkError<UpdateConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateConnectionInputBuilder
impl Clone for UpdateConnectionInputBuilder
source§fn clone(&self) -> UpdateConnectionInputBuilder
fn clone(&self) -> UpdateConnectionInputBuilder
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 Debug for UpdateConnectionInputBuilder
impl Debug for UpdateConnectionInputBuilder
source§impl Default for UpdateConnectionInputBuilder
impl Default for UpdateConnectionInputBuilder
source§fn default() -> UpdateConnectionInputBuilder
fn default() -> UpdateConnectionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateConnectionInputBuilder
impl PartialEq for UpdateConnectionInputBuilder
source§fn eq(&self, other: &UpdateConnectionInputBuilder) -> bool
fn eq(&self, other: &UpdateConnectionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateConnectionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateConnectionInputBuilder
impl RefUnwindSafe for UpdateConnectionInputBuilder
impl Send for UpdateConnectionInputBuilder
impl Sync for UpdateConnectionInputBuilder
impl Unpin for UpdateConnectionInputBuilder
impl UnwindSafe for UpdateConnectionInputBuilder
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.