Interface UserDefinedFunctionInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserDefinedFunctionInput.Builder,,UserDefinedFunctionInput> SdkBuilder<UserDefinedFunctionInput.Builder,,UserDefinedFunctionInput> SdkPojo
- Enclosing class:
UserDefinedFunctionInput
-
Method Summary
Modifier and TypeMethodDescriptionartifactLocation(String artifactLocation) The Amazon S3 location that contains the function's artifacts.The Java class that contains the function code.functionName(String functionName) The name of the function.functionType(String functionType) The type of the function.functionType(FunctionType functionType) The type of the function.governanceMode(String governanceMode) How access to the function is governed.governanceMode(GovernanceMode governanceMode) How access to the function is governed.The owner of the function.The owner type.ownerType(PrincipalType ownerType) The owner type.resourceUris(Collection<ResourceUri> resourceUris) The resource URIs for the function.resourceUris(Consumer<ResourceUri.Builder>... resourceUris) The resource URIs for the function.resourceUris(ResourceUri... resourceUris) The resource URIs for the function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
functionName
The name of the function.
- Parameters:
functionName- The name of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
className
The Java class that contains the function code.
- Parameters:
className- The Java class that contains the function code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerName
The owner of the function.
- Parameters:
ownerName- The owner of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionType
The type of the function.
- Parameters:
functionType- The type of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
functionType
The type of the function.
- Parameters:
functionType- The type of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerType
The owner type.
- Parameters:
ownerType- The owner type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerType
The owner type.
- Parameters:
ownerType- The owner type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceUris
The resource URIs for the function.
- Parameters:
resourceUris- The resource URIs for the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceUris
The resource URIs for the function.
- Parameters:
resourceUris- The resource URIs for the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceUris
The resource URIs for the function.
This is a convenience method that creates an instance of theResourceUri.Builderavoiding the need to create one manually viaResourceUri.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceUris(List<ResourceUri>).- Parameters:
resourceUris- a consumer that will call methods onResourceUri.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
artifactLocation
The Amazon S3 location that contains the function's artifacts. Required when
GovernanceModeisLAKE_FORMATION. You must register the location with Lake Formation, and every resource URI must be under this location.- Parameters:
artifactLocation- The Amazon S3 location that contains the function's artifacts. Required whenGovernanceModeisLAKE_FORMATION. You must register the location with Lake Formation, and every resource URI must be under this location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
governanceMode
How access to the function is governed. Specify
LAKE_FORMATIONto manage access to the function with Lake Formation permissions. If you don't specify a value, the default isIAM_ONLY. You can't change the governance mode after the function is created.When
GovernanceModeisLAKE_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.
- Parameters:
governanceMode- How access to the function is governed. SpecifyLAKE_FORMATIONto manage access to the function with Lake Formation permissions. If you don't specify a value, the default isIAM_ONLY. You can't change the governance mode after the function is created.When
GovernanceModeisLAKE_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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
governanceMode
How access to the function is governed. Specify
LAKE_FORMATIONto manage access to the function with Lake Formation permissions. If you don't specify a value, the default isIAM_ONLY. You can't change the governance mode after the function is created.When
GovernanceModeisLAKE_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.
- Parameters:
governanceMode- How access to the function is governed. SpecifyLAKE_FORMATIONto manage access to the function with Lake Formation permissions. If you don't specify a value, the default isIAM_ONLY. You can't change the governance mode after the function is created.When
GovernanceModeisLAKE_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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-