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 Details

    • 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:
    • 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

      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

      The resource URIs for the function.

      This is a convenience method that creates an instance of the ResourceUri.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<ResourceUri>).

      Parameters:
      resourceUris - a consumer that will call methods on ResourceUri.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.