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.
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 ==
.