Struct aws_sdk_glue::model::user_defined_function::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for UserDefinedFunction.
Implementations§
source§impl Builder
impl Builder
sourcepub fn function_name(self, input: impl Into<String>) -> Self
pub fn function_name(self, input: impl Into<String>) -> Self
The name of the function.
sourcepub fn set_function_name(self, input: Option<String>) -> Self
pub fn set_function_name(self, input: Option<String>) -> Self
The name of the function.
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 that contains 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 that contains the function.
sourcepub fn class_name(self, input: impl Into<String>) -> Self
pub fn class_name(self, input: impl Into<String>) -> Self
The Java class that contains the function code.
sourcepub fn set_class_name(self, input: Option<String>) -> Self
pub fn set_class_name(self, input: Option<String>) -> Self
The Java class that contains the function code.
sourcepub fn owner_name(self, input: impl Into<String>) -> Self
pub fn owner_name(self, input: impl Into<String>) -> Self
The owner of the function.
sourcepub fn set_owner_name(self, input: Option<String>) -> Self
pub fn set_owner_name(self, input: Option<String>) -> Self
The owner of the function.
sourcepub fn owner_type(self, input: PrincipalType) -> Self
pub fn owner_type(self, input: PrincipalType) -> Self
The owner type.
sourcepub fn set_owner_type(self, input: Option<PrincipalType>) -> Self
pub fn set_owner_type(self, input: Option<PrincipalType>) -> Self
The owner type.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The time at which the function was created.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The time at which the function was created.
sourcepub fn resource_uris(self, input: ResourceUri) -> Self
pub fn resource_uris(self, input: ResourceUri) -> Self
Appends an item to resource_uris.
To override the contents of this collection use set_resource_uris.
The resource URIs for the function.
sourcepub fn set_resource_uris(self, input: Option<Vec<ResourceUri>>) -> Self
pub fn set_resource_uris(self, input: Option<Vec<ResourceUri>>) -> Self
The resource URIs for the function.
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 the function resides.
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 the function resides.
sourcepub fn build(self) -> UserDefinedFunction
pub fn build(self) -> UserDefinedFunction
Consumes the builder and constructs a UserDefinedFunction.