Struct aws_sdk_glue::operation::delete_table_version::builders::DeleteTableVersionInputBuilder
source · #[non_exhaustive]pub struct DeleteTableVersionInputBuilder { /* private fields */ }Expand description
A builder for DeleteTableVersionInput.
Implementations§
source§impl DeleteTableVersionInputBuilder
impl DeleteTableVersionInputBuilder
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 where the tables reside. 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 where the tables reside. 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 where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
This field is required.sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table. For Hive compatibility, this name is entirely lowercase.
This field is required.sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table. For Hive compatibility, this name is entirely lowercase.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table. For Hive compatibility, this name is entirely lowercase.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The ID of the table version to be deleted. A VersionID is a string representation of an integer. Each version is incremented by 1.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
The ID of the table version to be deleted. A VersionID is a string representation of an integer. Each version is incremented by 1.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
The ID of the table version to be deleted. A VersionID is a string representation of an integer. Each version is incremented by 1.
sourcepub fn build(self) -> Result<DeleteTableVersionInput, BuildError>
pub fn build(self) -> Result<DeleteTableVersionInput, BuildError>
Consumes the builder and constructs a DeleteTableVersionInput.
source§impl DeleteTableVersionInputBuilder
impl DeleteTableVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteTableVersionOutput, SdkError<DeleteTableVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteTableVersionOutput, SdkError<DeleteTableVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteTableVersionInputBuilder
impl Clone for DeleteTableVersionInputBuilder
source§fn clone(&self) -> DeleteTableVersionInputBuilder
fn clone(&self) -> DeleteTableVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeleteTableVersionInputBuilder
impl Default for DeleteTableVersionInputBuilder
source§fn default() -> DeleteTableVersionInputBuilder
fn default() -> DeleteTableVersionInputBuilder
source§impl PartialEq for DeleteTableVersionInputBuilder
impl PartialEq for DeleteTableVersionInputBuilder
source§fn eq(&self, other: &DeleteTableVersionInputBuilder) -> bool
fn eq(&self, other: &DeleteTableVersionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.