public static interface CreateUserDefinedFunctionRequest.Builder extends GlueRequest.Builder, CopyableBuilder<CreateUserDefinedFunctionRequest.Builder,CreateUserDefinedFunctionRequest>
Modifier and Type | Method and 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)
A
FunctionInput object that defines the function to create in the Data Catalog. |
CreateUserDefinedFunctionRequest.Builder |
functionInput(UserDefinedFunctionInput functionInput)
A
FunctionInput object that defines the function to create in the Data Catalog. |
CreateUserDefinedFunctionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateUserDefinedFunctionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
CreateUserDefinedFunctionRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog in which to create the function. If none is supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog in which to create the function. If none is supplied, the AWS account ID is
used by default.CreateUserDefinedFunctionRequest.Builder databaseName(String databaseName)
The name of the catalog database in which to create the function.
databaseName
- The name of the catalog database in which to create the function.CreateUserDefinedFunctionRequest.Builder functionInput(UserDefinedFunctionInput functionInput)
A FunctionInput
object that defines the function to create in the Data Catalog.
functionInput
- A FunctionInput
object that defines the function to create in the Data Catalog.default CreateUserDefinedFunctionRequest.Builder functionInput(Consumer<UserDefinedFunctionInput.Builder> functionInput)
A FunctionInput
object that defines the function to create in the Data Catalog.
UserDefinedFunctionInput.Builder
avoiding the
need to create one manually via UserDefinedFunctionInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to functionInput(UserDefinedFunctionInput)
.functionInput
- a consumer that will call methods on UserDefinedFunctionInput.Builder
functionInput(UserDefinedFunctionInput)
CreateUserDefinedFunctionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateUserDefinedFunctionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.