#[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 function_type(self, input: FunctionType) -> Self
pub fn function_type(self, input: FunctionType) -> Self
The type of the function.
Sourcepub fn set_function_type(self, input: Option<FunctionType>) -> Self
pub fn set_function_type(self, input: Option<FunctionType>) -> Self
The type of the function.
Sourcepub fn get_function_type(&self) -> &Option<FunctionType>
pub fn get_function_type(&self) -> &Option<FunctionType>
The type 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 artifact_location(self, input: impl Into<String>) -> Self
pub fn artifact_location(self, input: impl Into<String>) -> Self
The Amazon S3 location that contains the function's artifacts. Required when GovernanceMode is LAKE_FORMATION. You must register the location with Lake Formation, and every resource URI must be under this location.
Sourcepub fn set_artifact_location(self, input: Option<String>) -> Self
pub fn set_artifact_location(self, input: Option<String>) -> Self
The Amazon S3 location that contains the function's artifacts. Required when GovernanceMode is LAKE_FORMATION. You must register the location with Lake Formation, and every resource URI must be under this location.
Sourcepub fn get_artifact_location(&self) -> &Option<String>
pub fn get_artifact_location(&self) -> &Option<String>
The Amazon S3 location that contains the function's artifacts. Required when GovernanceMode is LAKE_FORMATION. You must register the location with Lake Formation, and every resource URI must be under this location.
Sourcepub fn governance_mode(self, input: GovernanceMode) -> Self
pub fn governance_mode(self, input: GovernanceMode) -> Self
How access to the function is governed. Specify LAKE_FORMATION to manage access to the function with Lake Formation permissions. If you don't specify a value, the default is IAM_ONLY. You can't change the governance mode after the function is created.
When GovernanceMode is LAKE_FORMATION:
-
You must be a data lake administrator or have all permissions on the Data Catalog with the grant option.
-
You must have the
DATA_LOCATION_ACCESSpermission on theArtifactLocation, unless you're a data lake administrator. -
You must specify from 1 to 10 resource URIs, each under the
ArtifactLocation. -
You can't rename the function.
Sourcepub fn set_governance_mode(self, input: Option<GovernanceMode>) -> Self
pub fn set_governance_mode(self, input: Option<GovernanceMode>) -> Self
How access to the function is governed. Specify LAKE_FORMATION to manage access to the function with Lake Formation permissions. If you don't specify a value, the default is IAM_ONLY. You can't change the governance mode after the function is created.
When GovernanceMode is LAKE_FORMATION:
-
You must be a data lake administrator or have all permissions on the Data Catalog with the grant option.
-
You must have the
DATA_LOCATION_ACCESSpermission on theArtifactLocation, unless you're a data lake administrator. -
You must specify from 1 to 10 resource URIs, each under the
ArtifactLocation. -
You can't rename the function.
Sourcepub fn get_governance_mode(&self) -> &Option<GovernanceMode>
pub fn get_governance_mode(&self) -> &Option<GovernanceMode>
How access to the function is governed. Specify LAKE_FORMATION to manage access to the function with Lake Formation permissions. If you don't specify a value, the default is IAM_ONLY. You can't change the governance mode after the function is created.
When GovernanceMode is LAKE_FORMATION:
-
You must be a data lake administrator or have all permissions on the Data Catalog with the grant option.
-
You must have the
DATA_LOCATION_ACCESSpermission on theArtifactLocation, unless you're a data lake administrator. -
You must specify from 1 to 10 resource URIs, each under the
ArtifactLocation. -
You can't rename 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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UserDefinedFunctionInputBuilder
impl Default for UserDefinedFunctionInputBuilder
Source§fn default() -> UserDefinedFunctionInputBuilder
fn default() -> UserDefinedFunctionInputBuilder
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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