Interface CreateUserDefinedFunctionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateUserDefinedFunctionRequest.Builder,
,CreateUserDefinedFunctionRequest> GlueRequest.Builder
,SdkBuilder<CreateUserDefinedFunctionRequest.Builder,
,CreateUserDefinedFunctionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateUserDefinedFunctionRequest
public static interface CreateUserDefinedFunctionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateUserDefinedFunctionRequest.Builder,CreateUserDefinedFunctionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog in which to create the function.databaseName
(String databaseName) The name of the catalog database in which to create the function.functionInput
(Consumer<UserDefinedFunctionInput.Builder> functionInput) AFunctionInput
object that defines the function to create in the Data Catalog.functionInput
(UserDefinedFunctionInput functionInput) AFunctionInput
object that defines the function to create in the Data Catalog.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
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
-
catalogId
The ID of the Data Catalog in which to create the function. If none is provided, the Amazon Web Services account ID is used by default.
- Parameters:
catalogId
- The ID of the Data Catalog in which to create the function. If none is provided, the Amazon Web Services account ID is used by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of the catalog database in which to create the function.
- Parameters:
databaseName
- The name of the catalog database in which to create the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionInput
A
FunctionInput
object that defines the function to create in the Data Catalog.- Parameters:
functionInput
- AFunctionInput
object that defines the function to create in the Data Catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionInput
default CreateUserDefinedFunctionRequest.Builder functionInput(Consumer<UserDefinedFunctionInput.Builder> functionInput) A
This is a convenience method that creates an instance of theFunctionInput
object that defines the function to create in the Data Catalog.UserDefinedFunctionInput.Builder
avoiding the need to create one manually viaUserDefinedFunctionInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofunctionInput(UserDefinedFunctionInput)
.- Parameters:
functionInput
- a consumer that will call methods onUserDefinedFunctionInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateUserDefinedFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateUserDefinedFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-