@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserDefinedFunction extends Object implements Serializable, Cloneable, StructuredPojo
Represents the equivalent of a Hive user-defined function (UDF
) definition.
Constructor and Description |
---|
UserDefinedFunction() |
Modifier and Type | Method and Description |
---|---|
UserDefinedFunction |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The ID of the Data Catalog in which the function resides.
|
String |
getClassName()
The Java class that contains the function code.
|
Date |
getCreateTime()
The time at which the function was created.
|
String |
getDatabaseName()
The name of the catalog database that contains the function.
|
String |
getFunctionName()
The name of the function.
|
String |
getOwnerName()
The owner of the function.
|
String |
getOwnerType()
The owner type.
|
List<ResourceUri> |
getResourceUris()
The resource URIs for the function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog in which the function resides.
|
void |
setClassName(String className)
The Java class that contains the function code.
|
void |
setCreateTime(Date createTime)
The time at which the function was created.
|
void |
setDatabaseName(String databaseName)
The name of the catalog database that contains the function.
|
void |
setFunctionName(String functionName)
The name of the function.
|
void |
setOwnerName(String ownerName)
The owner of the function.
|
void |
setOwnerType(String ownerType)
The owner type.
|
void |
setResourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
|
String |
toString()
Returns a string representation of this object.
|
UserDefinedFunction |
withCatalogId(String catalogId)
The ID of the Data Catalog in which the function resides.
|
UserDefinedFunction |
withClassName(String className)
The Java class that contains the function code.
|
UserDefinedFunction |
withCreateTime(Date createTime)
The time at which the function was created.
|
UserDefinedFunction |
withDatabaseName(String databaseName)
The name of the catalog database that contains the function.
|
UserDefinedFunction |
withFunctionName(String functionName)
The name of the function.
|
UserDefinedFunction |
withOwnerName(String ownerName)
The owner of the function.
|
UserDefinedFunction |
withOwnerType(PrincipalType ownerType)
The owner type.
|
UserDefinedFunction |
withOwnerType(String ownerType)
The owner type.
|
UserDefinedFunction |
withResourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
|
UserDefinedFunction |
withResourceUris(ResourceUri... resourceUris)
The resource URIs for the function.
|
public void setFunctionName(String functionName)
The name of the function.
functionName
- The name of the function.public String getFunctionName()
The name of the function.
public UserDefinedFunction withFunctionName(String functionName)
The name of the function.
functionName
- The name of the function.public void setDatabaseName(String databaseName)
The name of the catalog database that contains the function.
databaseName
- The name of the catalog database that contains the function.public String getDatabaseName()
The name of the catalog database that contains the function.
public UserDefinedFunction withDatabaseName(String databaseName)
The name of the catalog database that contains the function.
databaseName
- The name of the catalog database that contains the function.public void setClassName(String className)
The Java class that contains the function code.
className
- The Java class that contains the function code.public String getClassName()
The Java class that contains the function code.
public UserDefinedFunction withClassName(String className)
The Java class that contains the function code.
className
- The Java class that contains the function code.public void setOwnerName(String ownerName)
The owner of the function.
ownerName
- The owner of the function.public String getOwnerName()
The owner of the function.
public UserDefinedFunction withOwnerName(String ownerName)
The owner of the function.
ownerName
- The owner of the function.public void setOwnerType(String ownerType)
The owner type.
ownerType
- The owner type.PrincipalType
public String getOwnerType()
The owner type.
PrincipalType
public UserDefinedFunction withOwnerType(String ownerType)
The owner type.
ownerType
- The owner type.PrincipalType
public UserDefinedFunction withOwnerType(PrincipalType ownerType)
The owner type.
ownerType
- The owner type.PrincipalType
public void setCreateTime(Date createTime)
The time at which the function was created.
createTime
- The time at which the function was created.public Date getCreateTime()
The time at which the function was created.
public UserDefinedFunction withCreateTime(Date createTime)
The time at which the function was created.
createTime
- The time at which the function was created.public List<ResourceUri> getResourceUris()
The resource URIs for the function.
public void setResourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
resourceUris
- The resource URIs for the function.public UserDefinedFunction withResourceUris(ResourceUri... resourceUris)
The resource URIs for the function.
NOTE: This method appends the values to the existing list (if any). Use
setResourceUris(java.util.Collection)
or withResourceUris(java.util.Collection)
if you want to
override the existing values.
resourceUris
- The resource URIs for the function.public UserDefinedFunction withResourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
resourceUris
- The resource URIs for the function.public void setCatalogId(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.public String getCatalogId()
The ID of the Data Catalog in which the function resides.
public UserDefinedFunction withCatalogId(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.public String toString()
toString
in class Object
Object.toString()
public UserDefinedFunction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.