Struct aws_sdk_glue::input::get_connection_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GetConnectionInput.
Implementations§
source§impl Builder
impl Builder
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the connection definition to retrieve.
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 build(self) -> Result<GetConnectionInput, BuildError>
pub fn build(self) -> Result<GetConnectionInput, BuildError>
Consumes the builder and constructs a GetConnectionInput.