Struct aws_sdk_glue::types::builders::UserDefinedFunctionBuilder
source · #[non_exhaustive]pub struct UserDefinedFunctionBuilder { /* private fields */ }Expand description
A builder for UserDefinedFunction.
Implementations§
source§impl UserDefinedFunctionBuilder
impl UserDefinedFunctionBuilder
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 get_function_name(&self) -> &Option<String>
pub fn get_function_name(&self) -> &Option<String>
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 get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
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 get_class_name(&self) -> &Option<String>
pub fn get_class_name(&self) -> &Option<String>
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 get_owner_name(&self) -> &Option<String>
pub fn get_owner_name(&self) -> &Option<String>
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 get_owner_type(&self) -> &Option<PrincipalType>
pub fn get_owner_type(&self) -> &Option<PrincipalType>
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 get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
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 get_resource_uris(&self) -> &Option<Vec<ResourceUri>>
pub fn get_resource_uris(&self) -> &Option<Vec<ResourceUri>>
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 get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
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.
Trait Implementations§
source§impl Clone for UserDefinedFunctionBuilder
impl Clone for UserDefinedFunctionBuilder
source§fn clone(&self) -> UserDefinedFunctionBuilder
fn clone(&self) -> UserDefinedFunctionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UserDefinedFunctionBuilder
impl Debug for UserDefinedFunctionBuilder
source§impl Default for UserDefinedFunctionBuilder
impl Default for UserDefinedFunctionBuilder
source§fn default() -> UserDefinedFunctionBuilder
fn default() -> UserDefinedFunctionBuilder
source§impl PartialEq for UserDefinedFunctionBuilder
impl PartialEq for UserDefinedFunctionBuilder
source§fn eq(&self, other: &UserDefinedFunctionBuilder) -> bool
fn eq(&self, other: &UserDefinedFunctionBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UserDefinedFunctionBuilder
Auto Trait Implementations§
impl Freeze for UserDefinedFunctionBuilder
impl RefUnwindSafe for UserDefinedFunctionBuilder
impl Send for UserDefinedFunctionBuilder
impl Sync for UserDefinedFunctionBuilder
impl Unpin for UserDefinedFunctionBuilder
impl UnwindSafe for UserDefinedFunctionBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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