Struct aws_sdk_glue::operation::create_partition_index::builders::CreatePartitionIndexInputBuilder
source · #[non_exhaustive]pub struct CreatePartitionIndexInputBuilder { /* private fields */ }
Expand description
A builder for CreatePartitionIndexInput
.
Implementations§
source§impl CreatePartitionIndexInputBuilder
impl CreatePartitionIndexInputBuilder
sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
pub fn catalog_id(self, input: impl Into<String>) -> Self
The catalog ID where the table resides.
sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
The catalog ID where the table resides.
sourcepub fn get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
The catalog ID where the table resides.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
Specifies the name of a database in which you want to create a partition index.
This field is required.sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
Specifies the name of a database in which you want to create a partition index.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
Specifies the name of a database in which you want to create a partition index.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
Specifies the name of a table in which you want to create a partition index.
This field is required.sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
Specifies the name of a table in which you want to create a partition index.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
Specifies the name of a table in which you want to create a partition index.
sourcepub fn partition_index(self, input: PartitionIndex) -> Self
pub fn partition_index(self, input: PartitionIndex) -> Self
Specifies a PartitionIndex
structure to create a partition index in an existing table.
sourcepub fn set_partition_index(self, input: Option<PartitionIndex>) -> Self
pub fn set_partition_index(self, input: Option<PartitionIndex>) -> Self
Specifies a PartitionIndex
structure to create a partition index in an existing table.
sourcepub fn get_partition_index(&self) -> &Option<PartitionIndex>
pub fn get_partition_index(&self) -> &Option<PartitionIndex>
Specifies a PartitionIndex
structure to create a partition index in an existing table.
sourcepub fn build(self) -> Result<CreatePartitionIndexInput, BuildError>
pub fn build(self) -> Result<CreatePartitionIndexInput, BuildError>
Consumes the builder and constructs a CreatePartitionIndexInput
.
source§impl CreatePartitionIndexInputBuilder
impl CreatePartitionIndexInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreatePartitionIndexOutput, SdkError<CreatePartitionIndexError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreatePartitionIndexOutput, SdkError<CreatePartitionIndexError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreatePartitionIndexInputBuilder
impl Clone for CreatePartitionIndexInputBuilder
source§fn clone(&self) -> CreatePartitionIndexInputBuilder
fn clone(&self) -> CreatePartitionIndexInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreatePartitionIndexInputBuilder
impl Default for CreatePartitionIndexInputBuilder
source§fn default() -> CreatePartitionIndexInputBuilder
fn default() -> CreatePartitionIndexInputBuilder
source§impl PartialEq for CreatePartitionIndexInputBuilder
impl PartialEq for CreatePartitionIndexInputBuilder
source§fn eq(&self, other: &CreatePartitionIndexInputBuilder) -> bool
fn eq(&self, other: &CreatePartitionIndexInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreatePartitionIndexInputBuilder
Auto Trait Implementations§
impl Freeze for CreatePartitionIndexInputBuilder
impl RefUnwindSafe for CreatePartitionIndexInputBuilder
impl Send for CreatePartitionIndexInputBuilder
impl Sync for CreatePartitionIndexInputBuilder
impl Unpin for CreatePartitionIndexInputBuilder
impl UnwindSafe for CreatePartitionIndexInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more