public static interface UserDefinedFunction.Builder extends SdkPojo, CopyableBuilder<UserDefinedFunction.Builder,UserDefinedFunction>
| Modifier and Type | Method and Description |
|---|---|
UserDefinedFunction.Builder |
catalogId(String catalogId)
The ID of the Data Catalog in which the function resides.
|
UserDefinedFunction.Builder |
className(String className)
The Java class that contains the function code.
|
UserDefinedFunction.Builder |
createTime(Instant createTime)
The time at which the function was created.
|
UserDefinedFunction.Builder |
databaseName(String databaseName)
The name of the catalog database that contains the function.
|
UserDefinedFunction.Builder |
functionName(String functionName)
The name of the function.
|
UserDefinedFunction.Builder |
ownerName(String ownerName)
The owner of the function.
|
UserDefinedFunction.Builder |
ownerType(PrincipalType ownerType)
The owner type.
|
UserDefinedFunction.Builder |
ownerType(String ownerType)
The owner type.
|
UserDefinedFunction.Builder |
resourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
|
UserDefinedFunction.Builder |
resourceUris(Consumer<ResourceUri.Builder>... resourceUris)
The resource URIs for the function.
|
UserDefinedFunction.Builder |
resourceUris(ResourceUri... resourceUris)
The resource URIs for the function.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUserDefinedFunction.Builder functionName(String functionName)
The name of the function.
functionName - The name of the function.UserDefinedFunction.Builder databaseName(String databaseName)
The name of the catalog database that contains the function.
databaseName - The name of the catalog database that contains the function.UserDefinedFunction.Builder className(String className)
The Java class that contains the function code.
className - The Java class that contains the function code.UserDefinedFunction.Builder ownerName(String ownerName)
The owner of the function.
ownerName - The owner of the function.UserDefinedFunction.Builder ownerType(String ownerType)
The owner type.
ownerType - The owner type.PrincipalType,
PrincipalTypeUserDefinedFunction.Builder ownerType(PrincipalType ownerType)
The owner type.
ownerType - The owner type.PrincipalType,
PrincipalTypeUserDefinedFunction.Builder createTime(Instant createTime)
The time at which the function was created.
createTime - The time at which the function was created.UserDefinedFunction.Builder resourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
resourceUris - The resource URIs for the function.UserDefinedFunction.Builder resourceUris(ResourceUri... resourceUris)
The resource URIs for the function.
resourceUris - The resource URIs for the function.UserDefinedFunction.Builder resourceUris(Consumer<ResourceUri.Builder>... resourceUris)
The resource URIs for the function.
This is a convenience method that creates an instance of theResourceUri.Builder avoiding the need to create one
manually via ResourceUri.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #resourceUris(List.
resourceUris - a consumer that will call methods on
ResourceUri.Builder#resourceUris(java.util.Collection) UserDefinedFunction.Builder catalogId(String catalogId)
The ID of the Data Catalog in which the function resides.
catalogId - The ID of the Data Catalog in which the function resides.Copyright © 2023. All rights reserved.