public static interface UserDefinedFunction.Builder extends SdkPojo, CopyableBuilder<UserDefinedFunction.Builder,UserDefinedFunction>
Modifier and Type | Method and Description |
---|---|
UserDefinedFunction.Builder |
className(String className)
The Java class that contains the function code.
|
UserDefinedFunction.Builder |
createTime(Instant createTime)
The time at which the function was created.
|
UserDefinedFunction.Builder |
functionName(String functionName)
The name of the function.
|
UserDefinedFunction.Builder |
ownerName(String ownerName)
The owner of the function.
|
UserDefinedFunction.Builder |
ownerType(PrincipalType ownerType)
The owner type.
|
UserDefinedFunction.Builder |
ownerType(String ownerType)
The owner type.
|
UserDefinedFunction.Builder |
resourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
|
UserDefinedFunction.Builder |
resourceUris(Consumer<ResourceUri.Builder>... resourceUris)
The resource URIs for the function.
|
UserDefinedFunction.Builder |
resourceUris(ResourceUri... resourceUris)
The resource URIs for the function.
|
copy
applyMutation, build
UserDefinedFunction.Builder functionName(String functionName)
The name of the function.
functionName
- The name of the function.UserDefinedFunction.Builder className(String className)
The Java class that contains the function code.
className
- The Java class that contains the function code.UserDefinedFunction.Builder ownerName(String ownerName)
The owner of the function.
ownerName
- The owner of the function.UserDefinedFunction.Builder ownerType(String ownerType)
The owner type.
ownerType
- The owner type.PrincipalType
,
PrincipalType
UserDefinedFunction.Builder ownerType(PrincipalType ownerType)
The owner type.
ownerType
- The owner type.PrincipalType
,
PrincipalType
UserDefinedFunction.Builder createTime(Instant createTime)
The time at which the function was created.
createTime
- The time at which the function was created.UserDefinedFunction.Builder resourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
resourceUris
- The resource URIs for the function.UserDefinedFunction.Builder resourceUris(ResourceUri... resourceUris)
The resource URIs for the function.
resourceUris
- The resource URIs for the function.UserDefinedFunction.Builder resourceUris(Consumer<ResourceUri.Builder>... resourceUris)
The resource URIs for the function.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #resourceUris(List)
.resourceUris
- a consumer that will call methods on List.Builder
#resourceUris(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.