#[non_exhaustive]pub struct GetConnectionInputBuilder { /* private fields */ }Expand description
A builder for GetConnectionInput.
Implementations§
source§impl GetConnectionInputBuilder
impl GetConnectionInputBuilder
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 the connection resides. 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 the connection resides. 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 the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the connection definition to retrieve.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the connection definition to retrieve.
sourcepub fn hide_password(self, input: bool) -> Self
pub fn hide_password(self, input: bool) -> Self
Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
sourcepub fn set_hide_password(self, input: Option<bool>) -> Self
pub fn set_hide_password(self, input: Option<bool>) -> Self
Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
sourcepub fn get_hide_password(&self) -> &Option<bool>
pub fn get_hide_password(&self) -> &Option<bool>
Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
sourcepub fn build(self) -> Result<GetConnectionInput, BuildError>
pub fn build(self) -> Result<GetConnectionInput, BuildError>
Consumes the builder and constructs a GetConnectionInput.
source§impl GetConnectionInputBuilder
impl GetConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetConnectionOutput, SdkError<GetConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetConnectionOutput, SdkError<GetConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetConnectionInputBuilder
impl Clone for GetConnectionInputBuilder
source§fn clone(&self) -> GetConnectionInputBuilder
fn clone(&self) -> GetConnectionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetConnectionInputBuilder
impl Debug for GetConnectionInputBuilder
source§impl Default for GetConnectionInputBuilder
impl Default for GetConnectionInputBuilder
source§fn default() -> GetConnectionInputBuilder
fn default() -> GetConnectionInputBuilder
source§impl PartialEq for GetConnectionInputBuilder
impl PartialEq for GetConnectionInputBuilder
source§fn eq(&self, other: &GetConnectionInputBuilder) -> bool
fn eq(&self, other: &GetConnectionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.