#[non_exhaustive]pub struct CreateCatalogInputBuilder { /* private fields */ }Expand description
A builder for CreateCatalogInput.
Implementations§
Source§impl CreateCatalogInputBuilder
impl CreateCatalogInputBuilder
Sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the catalog to create.
This field is required.Sourcepub fn catalog_input(self, input: CatalogInput) -> Self
pub fn catalog_input(self, input: CatalogInput) -> Self
A CatalogInput object that defines the metadata for the catalog.
Sourcepub fn set_catalog_input(self, input: Option<CatalogInput>) -> Self
pub fn set_catalog_input(self, input: Option<CatalogInput>) -> Self
A CatalogInput object that defines the metadata for the catalog.
Sourcepub fn get_catalog_input(&self) -> &Option<CatalogInput>
pub fn get_catalog_input(&self) -> &Option<CatalogInput>
A CatalogInput object that defines the metadata for the catalog.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A map array of key-value pairs, not more than 50 pairs. Each key is a UTF-8 string, not less than 1 or more than 128 bytes long. Each value is a UTF-8 string, not more than 256 bytes long. The tags you assign to the catalog.
A map array of key-value pairs, not more than 50 pairs. Each key is a UTF-8 string, not less than 1 or more than 128 bytes long. Each value is a UTF-8 string, not more than 256 bytes long. The tags you assign to the catalog.
A map array of key-value pairs, not more than 50 pairs. Each key is a UTF-8 string, not less than 1 or more than 128 bytes long. Each value is a UTF-8 string, not more than 256 bytes long. The tags you assign to the catalog.
Sourcepub fn build(self) -> Result<CreateCatalogInput, BuildError>
pub fn build(self) -> Result<CreateCatalogInput, BuildError>
Consumes the builder and constructs a CreateCatalogInput.
Source§impl CreateCatalogInputBuilder
impl CreateCatalogInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateCatalogOutput, SdkError<CreateCatalogError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateCatalogOutput, SdkError<CreateCatalogError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for CreateCatalogInputBuilder
impl Clone for CreateCatalogInputBuilder
Source§fn clone(&self) -> CreateCatalogInputBuilder
fn clone(&self) -> CreateCatalogInputBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateCatalogInputBuilder
impl Debug for CreateCatalogInputBuilder
Source§impl Default for CreateCatalogInputBuilder
impl Default for CreateCatalogInputBuilder
Source§fn default() -> CreateCatalogInputBuilder
fn default() -> CreateCatalogInputBuilder
Source§impl PartialEq for CreateCatalogInputBuilder
impl PartialEq for CreateCatalogInputBuilder
Source§fn eq(&self, other: &CreateCatalogInputBuilder) -> bool
fn eq(&self, other: &CreateCatalogInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateCatalogInputBuilder
Auto Trait Implementations§
impl Freeze for CreateCatalogInputBuilder
impl RefUnwindSafe for CreateCatalogInputBuilder
impl Send for CreateCatalogInputBuilder
impl Sync for CreateCatalogInputBuilder
impl Unpin for CreateCatalogInputBuilder
impl UnsafeUnpin for CreateCatalogInputBuilder
impl UnwindSafe for CreateCatalogInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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