Struct aws_sdk_glue::types::UserDefinedFunctionInput
source · #[non_exhaustive]pub struct UserDefinedFunctionInput {
pub function_name: Option<String>,
pub class_name: Option<String>,
pub owner_name: Option<String>,
pub owner_type: Option<PrincipalType>,
pub resource_uris: Option<Vec<ResourceUri>>,
}
Expand description
A structure used to create or update a user-defined function.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.function_name: Option<String>
The name of the function.
class_name: Option<String>
The Java class that contains the function code.
owner_name: Option<String>
The owner of the function.
owner_type: Option<PrincipalType>
The owner type.
resource_uris: Option<Vec<ResourceUri>>
The resource URIs for the function.
Implementations§
source§impl UserDefinedFunctionInput
impl UserDefinedFunctionInput
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name of the function.
sourcepub fn class_name(&self) -> Option<&str>
pub fn class_name(&self) -> Option<&str>
The Java class that contains the function code.
sourcepub fn owner_name(&self) -> Option<&str>
pub fn owner_name(&self) -> Option<&str>
The owner of the function.
sourcepub fn owner_type(&self) -> Option<&PrincipalType>
pub fn owner_type(&self) -> Option<&PrincipalType>
The owner type.
sourcepub fn resource_uris(&self) -> &[ResourceUri]
pub fn resource_uris(&self) -> &[ResourceUri]
The resource URIs for the function.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_uris.is_none()
.
source§impl UserDefinedFunctionInput
impl UserDefinedFunctionInput
sourcepub fn builder() -> UserDefinedFunctionInputBuilder
pub fn builder() -> UserDefinedFunctionInputBuilder
Creates a new builder-style object to manufacture UserDefinedFunctionInput
.
Trait Implementations§
source§impl Clone for UserDefinedFunctionInput
impl Clone for UserDefinedFunctionInput
source§fn clone(&self) -> UserDefinedFunctionInput
fn clone(&self) -> UserDefinedFunctionInput
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 Debug for UserDefinedFunctionInput
impl Debug for UserDefinedFunctionInput
source§impl PartialEq for UserDefinedFunctionInput
impl PartialEq for UserDefinedFunctionInput
source§fn eq(&self, other: &UserDefinedFunctionInput) -> bool
fn eq(&self, other: &UserDefinedFunctionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserDefinedFunctionInput
Auto Trait Implementations§
impl Freeze for UserDefinedFunctionInput
impl RefUnwindSafe for UserDefinedFunctionInput
impl Send for UserDefinedFunctionInput
impl Sync for UserDefinedFunctionInput
impl Unpin for UserDefinedFunctionInput
impl UnwindSafe for UserDefinedFunctionInput
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.