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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserDefinedFunction.BuildercatalogId(String catalogId)The ID of the Data Catalog in which the function resides.UserDefinedFunction.BuilderclassName(String className)The Java class that contains the function code.UserDefinedFunction.BuildercreateTime(Instant createTime)The time at which the function was created.UserDefinedFunction.BuilderdatabaseName(String databaseName)The name of the catalog database that contains the function.UserDefinedFunction.BuilderfunctionName(String functionName)The name of the function.UserDefinedFunction.BuilderownerName(String ownerName)The owner of the function.UserDefinedFunction.BuilderownerType(String ownerType)The owner type.UserDefinedFunction.BuilderownerType(PrincipalType ownerType)The owner type.UserDefinedFunction.BuilderresourceUris(Collection<ResourceUri> resourceUris)The resource URIs for the function.UserDefinedFunction.BuilderresourceUris(Consumer<ResourceUri.Builder>... resourceUris)The resource URIs for the function.UserDefinedFunction.BuilderresourceUris(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
functionName
UserDefinedFunction.Builder functionName(String 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
UserDefinedFunction.Builder databaseName(String 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
UserDefinedFunction.Builder className(String 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
UserDefinedFunction.Builder ownerName(String 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
UserDefinedFunction.Builder ownerType(String 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:
PrincipalType,PrincipalType
-
ownerType
UserDefinedFunction.Builder ownerType(PrincipalType 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:
PrincipalType,PrincipalType
-
createTime
UserDefinedFunction.Builder createTime(Instant 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
UserDefinedFunction.Builder resourceUris(Collection<ResourceUri> 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
UserDefinedFunction.Builder resourceUris(ResourceUri... 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
UserDefinedFunction.Builder resourceUris(Consumer<ResourceUri.Builder>... 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 to#resourceUris(List.) - 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:
#resourceUris(java.util.Collection)
-
catalogId
UserDefinedFunction.Builder catalogId(String 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.
-
-