Interface CreateUserDefinedFunctionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateUserDefinedFunctionRequest.Builder,,CreateUserDefinedFunctionRequest> GlueRequest.Builder,SdkBuilder<CreateUserDefinedFunctionRequest.Builder,,CreateUserDefinedFunctionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateUserDefinedFunctionRequest
@Mutable
@NotThreadSafe
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) AFunctionInputobject that defines the function to create in the Data Catalog.functionInput(UserDefinedFunctionInput functionInput) AFunctionInputobject that defines the function to create in the Data Catalog.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
FunctionInputobject that defines the function to create in the Data Catalog.- Parameters:
functionInput- AFunctionInputobject 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 theFunctionInputobject that defines the function to create in the Data Catalog.UserDefinedFunctionInput.Builderavoiding the need to create one manually viaUserDefinedFunctionInput.builder().When the
Consumercompletes,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) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateUserDefinedFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-