#[non_exhaustive]pub struct UserDefinedFunctionInputBuilder { /* private fields */ }Expand description
A builder for UserDefinedFunctionInput.
Implementations§
source§impl UserDefinedFunctionInputBuilder
impl UserDefinedFunctionInputBuilder
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 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 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 build(self) -> UserDefinedFunctionInput
pub fn build(self) -> UserDefinedFunctionInput
Consumes the builder and constructs a UserDefinedFunctionInput.
Trait Implementations§
source§impl Clone for UserDefinedFunctionInputBuilder
impl Clone for UserDefinedFunctionInputBuilder
source§fn clone(&self) -> UserDefinedFunctionInputBuilder
fn clone(&self) -> UserDefinedFunctionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for UserDefinedFunctionInputBuilder
impl Default for UserDefinedFunctionInputBuilder
source§fn default() -> UserDefinedFunctionInputBuilder
fn default() -> UserDefinedFunctionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UserDefinedFunctionInputBuilder
impl PartialEq for UserDefinedFunctionInputBuilder
source§fn eq(&self, other: &UserDefinedFunctionInputBuilder) -> bool
fn eq(&self, other: &UserDefinedFunctionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UserDefinedFunctionInputBuilder
Auto Trait Implementations§
impl Freeze for UserDefinedFunctionInputBuilder
impl RefUnwindSafe for UserDefinedFunctionInputBuilder
impl Send for UserDefinedFunctionInputBuilder
impl Sync for UserDefinedFunctionInputBuilder
impl Unpin for UserDefinedFunctionInputBuilder
impl UnwindSafe for UserDefinedFunctionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.