Interface CreateCatalogRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCatalogRequest.Builder,CreateCatalogRequest>,GlueRequest.Builder,SdkBuilder<CreateCatalogRequest.Builder,CreateCatalogRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCatalogRequest
public static interface CreateCatalogRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateCatalogRequest.Builder,CreateCatalogRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateCatalogRequest.BuildercatalogInput(Consumer<CatalogInput.Builder> catalogInput)ACatalogInputobject that defines the metadata for the catalog.CreateCatalogRequest.BuildercatalogInput(CatalogInput catalogInput)ACatalogInputobject that defines the metadata for the catalog.CreateCatalogRequest.Buildername(String name)The name of the catalog to create.CreateCatalogRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCatalogRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCatalogRequest.Buildertags(Map<String,String> tags)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 Detail
-
name
CreateCatalogRequest.Builder name(String 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
CreateCatalogRequest.Builder catalogInput(CatalogInput catalogInput)
A
CatalogInputobject that defines the metadata for the catalog.- Parameters:
catalogInput- ACatalogInputobject that defines the metadata for the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogInput
default CreateCatalogRequest.Builder catalogInput(Consumer<CatalogInput.Builder> catalogInput)
A
This is a convenience method that creates an instance of theCatalogInputobject that defines the metadata for the catalog.CatalogInput.Builderavoiding the need to create one manually viaCatalogInput.builder().When the
Consumercompletes,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:
catalogInput(CatalogInput)
-
tags
CreateCatalogRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCatalogRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-