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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateUserDefinedFunctionRequest.Builder
catalogId(String catalogId)
The ID of the Data Catalog in which to create the function.CreateUserDefinedFunctionRequest.Builder
databaseName(String databaseName)
The name of the catalog database in which to create the function.default CreateUserDefinedFunctionRequest.Builder
functionInput(Consumer<UserDefinedFunctionInput.Builder> functionInput)
AFunctionInput
object that defines the function to create in the Data Catalog.CreateUserDefinedFunctionRequest.Builder
functionInput(UserDefinedFunctionInput functionInput)
AFunctionInput
object that defines the function to create in the Data Catalog.CreateUserDefinedFunctionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateUserDefinedFunctionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
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 Detail
-
catalogId
CreateUserDefinedFunctionRequest.Builder catalogId(String 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
CreateUserDefinedFunctionRequest.Builder databaseName(String 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
CreateUserDefinedFunctionRequest.Builder functionInput(UserDefinedFunctionInput 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:
functionInput(UserDefinedFunctionInput)
-
overrideConfiguration
CreateUserDefinedFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateUserDefinedFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-