Struct aws_sdk_glue::operation::create_user_defined_function::builders::CreateUserDefinedFunctionInputBuilder
source · #[non_exhaustive]pub struct CreateUserDefinedFunctionInputBuilder { /* private fields */ }
Expand description
A builder for CreateUserDefinedFunctionInput
.
Implementations§
source§impl CreateUserDefinedFunctionInputBuilder
impl CreateUserDefinedFunctionInputBuilder
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 to create the function. 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 to create the function. 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 to create the function. 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 name of the catalog database in which to create the function.
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 name of the catalog database in which to create the function.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the catalog database in which to create the function.
sourcepub fn function_input(self, input: UserDefinedFunctionInput) -> Self
pub fn function_input(self, input: UserDefinedFunctionInput) -> Self
A FunctionInput
object that defines the function to create in the Data Catalog.
sourcepub fn set_function_input(self, input: Option<UserDefinedFunctionInput>) -> Self
pub fn set_function_input(self, input: Option<UserDefinedFunctionInput>) -> Self
A FunctionInput
object that defines the function to create in the Data Catalog.
sourcepub fn get_function_input(&self) -> &Option<UserDefinedFunctionInput>
pub fn get_function_input(&self) -> &Option<UserDefinedFunctionInput>
A FunctionInput
object that defines the function to create in the Data Catalog.
sourcepub fn build(self) -> Result<CreateUserDefinedFunctionInput, BuildError>
pub fn build(self) -> Result<CreateUserDefinedFunctionInput, BuildError>
Consumes the builder and constructs a CreateUserDefinedFunctionInput
.
source§impl CreateUserDefinedFunctionInputBuilder
impl CreateUserDefinedFunctionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateUserDefinedFunctionOutput, SdkError<CreateUserDefinedFunctionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateUserDefinedFunctionOutput, SdkError<CreateUserDefinedFunctionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUserDefinedFunctionInputBuilder
impl Clone for CreateUserDefinedFunctionInputBuilder
source§fn clone(&self) -> CreateUserDefinedFunctionInputBuilder
fn clone(&self) -> CreateUserDefinedFunctionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateUserDefinedFunctionInputBuilder
impl Default for CreateUserDefinedFunctionInputBuilder
source§fn default() -> CreateUserDefinedFunctionInputBuilder
fn default() -> CreateUserDefinedFunctionInputBuilder
source§impl PartialEq for CreateUserDefinedFunctionInputBuilder
impl PartialEq for CreateUserDefinedFunctionInputBuilder
source§fn eq(&self, other: &CreateUserDefinedFunctionInputBuilder) -> bool
fn eq(&self, other: &CreateUserDefinedFunctionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUserDefinedFunctionInputBuilder
Auto Trait Implementations§
impl Freeze for CreateUserDefinedFunctionInputBuilder
impl RefUnwindSafe for CreateUserDefinedFunctionInputBuilder
impl Send for CreateUserDefinedFunctionInputBuilder
impl Sync for CreateUserDefinedFunctionInputBuilder
impl Unpin for CreateUserDefinedFunctionInputBuilder
impl UnwindSafe for CreateUserDefinedFunctionInputBuilder
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