Interface CreateCatalogRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateCatalogRequest.Builder,
,CreateCatalogRequest> GlueRequest.Builder
,SdkBuilder<CreateCatalogRequest.Builder,
,CreateCatalogRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCatalogRequest
@Mutable
@NotThreadSafe
public static interface CreateCatalogRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateCatalogRequest.Builder,CreateCatalogRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateCatalogRequest.Builder
catalogInput
(Consumer<CatalogInput.Builder> catalogInput) ACatalogInput
object that defines the metadata for the catalog.catalogInput
(CatalogInput catalogInput) ACatalogInput
object that defines the metadata for the catalog.The name of the catalog to create.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A map array of key-value pairs, not more than 50 pairs.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the catalog to create.
- Parameters:
name
- The name of the catalog to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogInput
A
CatalogInput
object that defines the metadata for the catalog.- Parameters:
catalogInput
- ACatalogInput
object that defines the metadata for the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogInput
A
This is a convenience method that creates an instance of theCatalogInput
object that defines the metadata for the catalog.CatalogInput.Builder
avoiding the need to create one manually viaCatalogInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocatalogInput(CatalogInput)
.- Parameters:
catalogInput
- a consumer that will call methods onCatalogInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map array of key-value pairs, not more than 50 pairs. Each key is a UTF-8 string, not less than 1 or more than 128 bytes long. Each value is a UTF-8 string, not more than 256 bytes long. The tags you assign to the catalog.
- Parameters:
tags
- A map array of key-value pairs, not more than 50 pairs. Each key is a UTF-8 string, not less than 1 or more than 128 bytes long. Each value is a UTF-8 string, not more than 256 bytes long. The tags you assign to the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCatalogRequest.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
CreateCatalogRequest.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.
-