#[non_exhaustive]pub struct CreateConnectionInputBuilder { /* private fields */ }Expand description
A builder for CreateConnectionInput.
Implementations§
source§impl CreateConnectionInputBuilder
impl CreateConnectionInputBuilder
sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
pub fn catalog_id(self, input: impl Into<String>) -> Self
The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn connection_input(self, input: ConnectionInput) -> Self
pub fn connection_input(self, input: ConnectionInput) -> Self
A ConnectionInput object defining the connection to create.
sourcepub fn set_connection_input(self, input: Option<ConnectionInput>) -> Self
pub fn set_connection_input(self, input: Option<ConnectionInput>) -> Self
A ConnectionInput object defining the connection to create.
sourcepub fn get_connection_input(&self) -> &Option<ConnectionInput>
pub fn get_connection_input(&self) -> &Option<ConnectionInput>
A ConnectionInput object defining the connection to create.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags you assign to the connection.
The tags you assign to the connection.
The tags you assign to the connection.
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 ==.