Interface UserDefinedFunction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserDefinedFunction.Builder,,UserDefinedFunction> SdkBuilder<UserDefinedFunction.Builder,,UserDefinedFunction> SdkPojo
- Enclosing class:
UserDefinedFunction
-
Method Summary
Modifier and TypeMethodDescriptionartifactLocation(String artifactLocation) The Amazon S3 location that contains the function's artifacts.The ID of the Data Catalog in which the function resides.The Java class that contains the function code.createTime(Instant createTime) The time at which the function was created.databaseName(String databaseName) The name of the catalog database that contains the function.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.
-
databaseName
The name of the catalog database that contains the function.
- Parameters:
databaseName- The name of the catalog database that contains 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:
-
createTime
The time at which the function was created.
- Parameters:
createTime- The time at which the function was created.- 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.
- 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. This location must be registered with Lake Formation. Glue returns this field only for functions whose
GovernanceModeisLAKE_FORMATION.- Parameters:
artifactLocation- The Amazon S3 location that contains the function's artifacts. This location must be registered with Lake Formation. Glue returns this field only for functions whoseGovernanceModeisLAKE_FORMATION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
governanceMode
How access to the function is governed.
IAM_ONLYmeans access is controlled by IAM permissions only.LAKE_FORMATIONmeans Lake Formation permissions (EXECUTE,DESCRIBE,ALTER, andDROP) also control who can run, describe, update, and delete the function.- Parameters:
governanceMode- How access to the function is governed.IAM_ONLYmeans access is controlled by IAM permissions only.LAKE_FORMATIONmeans Lake Formation permissions (EXECUTE,DESCRIBE,ALTER, andDROP) also control who can run, describe, update, and delete 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.
IAM_ONLYmeans access is controlled by IAM permissions only.LAKE_FORMATIONmeans Lake Formation permissions (EXECUTE,DESCRIBE,ALTER, andDROP) also control who can run, describe, update, and delete the function.- Parameters:
governanceMode- How access to the function is governed.IAM_ONLYmeans access is controlled by IAM permissions only.LAKE_FORMATIONmeans Lake Formation permissions (EXECUTE,DESCRIBE,ALTER, andDROP) also control who can run, describe, update, and delete the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalogId
The ID of the Data Catalog in which the function resides.
- Parameters:
catalogId- The ID of the Data Catalog in which the function resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-