Interface UserDefinedFunctionInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserDefinedFunctionInput.Builder,
,UserDefinedFunctionInput> SdkBuilder<UserDefinedFunctionInput.Builder,
,UserDefinedFunctionInput> SdkPojo
- Enclosing class:
UserDefinedFunctionInput
public static interface UserDefinedFunctionInput.Builder
extends SdkPojo, CopyableBuilder<UserDefinedFunctionInput.Builder,UserDefinedFunctionInput>
-
Method Summary
Modifier and TypeMethodDescriptionThe Java class that contains the function code.functionName
(String functionName) The name of the function.The owner of the function.The owner type.ownerType
(PrincipalType ownerType) The owner type.resourceUris
(Collection<ResourceUri> resourceUris) The resource URIs for the function.resourceUris
(Consumer<ResourceUri.Builder>... resourceUris) The resource URIs for the function.resourceUris
(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, sdkFields
-
Method Details
-
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.
-
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
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
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:
-
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.
- 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 theResourceUri.Builder
avoiding the need to create one manually viaResourceUri.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceUris(List<ResourceUri>)
.- 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:
-