Interface UserDefinedFunction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserDefinedFunction.Builder,
,UserDefinedFunction> SdkBuilder<UserDefinedFunction.Builder,
,UserDefinedFunction> SdkPojo
- Enclosing class:
UserDefinedFunction
public static interface UserDefinedFunction.Builder
extends SdkPojo, CopyableBuilder<UserDefinedFunction.Builder,UserDefinedFunction>
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
-
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.Builder
avoiding the need to create one manually viaResourceUri.builder()
.When the
Consumer
completes,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:
-
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.
-