Struct aws_sdk_eventbridge::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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name for the connection to create.
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 to create.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the connection to create.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the connection to create.
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
sourcepub fn auth_parameters(
self,
input: CreateConnectionAuthRequestParameters
) -> Self
pub fn auth_parameters( self, input: CreateConnectionAuthRequestParameters ) -> Self
A CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint.
sourcepub fn set_auth_parameters(
self,
input: Option<CreateConnectionAuthRequestParameters>
) -> Self
pub fn set_auth_parameters( self, input: Option<CreateConnectionAuthRequestParameters> ) -> Self
A CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint.
sourcepub fn get_auth_parameters(
&self
) -> &Option<CreateConnectionAuthRequestParameters>
pub fn get_auth_parameters( &self ) -> &Option<CreateConnectionAuthRequestParameters>
A CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint.
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 ==
.