pub struct Builder { /* private fields */ }Expand description
A builder for CreateUserDefinedFunctionInput.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> Result<CreateUserDefinedFunctionInput, BuildError>
pub fn build(self) -> Result<CreateUserDefinedFunctionInput, BuildError>
Consumes the builder and constructs a CreateUserDefinedFunctionInput.