@Generated(value="software.amazon.awssdk:codegen") public final class UserDefinedFunction extends Object implements StructuredPojo, ToCopyableBuilder<UserDefinedFunction.Builder,UserDefinedFunction>
Represents the equivalent of a Hive user-defined function (UDF
) definition.
Modifier and Type | Class and Description |
---|---|
static interface |
UserDefinedFunction.Builder |
Modifier and Type | Method and Description |
---|---|
static UserDefinedFunction.Builder |
builder() |
String |
className()
The Java class that contains the function code.
|
Instant |
createTime()
The time at which the function was created.
|
boolean |
equals(Object obj) |
String |
functionName()
The name of the function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
ownerName()
The owner of the function.
|
PrincipalType |
ownerType()
The owner type.
|
String |
ownerTypeAsString()
The owner type.
|
List<ResourceUri> |
resourceUris()
The resource URIs for the function.
|
static Class<? extends UserDefinedFunction.Builder> |
serializableBuilderClass() |
UserDefinedFunction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String functionName()
The name of the function.
public String className()
The Java class that contains the function code.
public String ownerName()
The owner of the function.
public PrincipalType ownerType()
The owner type.
If the service returns an enum value that is not available in the current SDK version, ownerType
will
return PrincipalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
ownerTypeAsString()
.
PrincipalType
public String ownerTypeAsString()
The owner type.
If the service returns an enum value that is not available in the current SDK version, ownerType
will
return PrincipalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
ownerTypeAsString()
.
PrincipalType
public Instant createTime()
The time at which the function was created.
public List<ResourceUri> resourceUris()
The resource URIs for the function.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public UserDefinedFunction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserDefinedFunction.Builder,UserDefinedFunction>
public static UserDefinedFunction.Builder builder()
public static Class<? extends UserDefinedFunction.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.