Interface GovernedCatalogTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GovernedCatalogTarget.Builder,GovernedCatalogTarget>,SdkBuilder<GovernedCatalogTarget.Builder,GovernedCatalogTarget>,SdkPojo
- Enclosing class:
- GovernedCatalogTarget
public static interface GovernedCatalogTarget.Builder extends SdkPojo, CopyableBuilder<GovernedCatalogTarget.Builder,GovernedCatalogTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GovernedCatalogTarget.Builderdatabase(String database)The name of the database to write to.GovernedCatalogTarget.Builderinputs(String... inputs)The nodes that are inputs to the data target.GovernedCatalogTarget.Builderinputs(Collection<String> inputs)The nodes that are inputs to the data target.GovernedCatalogTarget.Buildername(String name)The name of the data target.GovernedCatalogTarget.BuilderpartitionKeys(Collection<? extends Collection<String>> partitionKeys)Specifies native partitioning using a sequence of keys.GovernedCatalogTarget.BuilderpartitionKeys(Collection<String>... partitionKeys)Specifies native partitioning using a sequence of keys.default GovernedCatalogTarget.BuilderschemaChangePolicy(Consumer<CatalogSchemaChangePolicy.Builder> schemaChangePolicy)A policy that specifies update behavior for the governed catalog.GovernedCatalogTarget.BuilderschemaChangePolicy(CatalogSchemaChangePolicy schemaChangePolicy)A policy that specifies update behavior for the governed catalog.GovernedCatalogTarget.Buildertable(String table)The name of the table in the database to write to.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
GovernedCatalogTarget.Builder name(String name)
The name of the data target.
- Parameters:
name- The name of the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
GovernedCatalogTarget.Builder inputs(Collection<String> inputs)
The nodes that are inputs to the data target.
- Parameters:
inputs- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
GovernedCatalogTarget.Builder inputs(String... inputs)
The nodes that are inputs to the data target.
- Parameters:
inputs- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
GovernedCatalogTarget.Builder partitionKeys(Collection<? extends Collection<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
- Parameters:
partitionKeys- Specifies native partitioning using a sequence of keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
GovernedCatalogTarget.Builder partitionKeys(Collection<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
- Parameters:
partitionKeys- Specifies native partitioning using a sequence of keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
table
GovernedCatalogTarget.Builder table(String table)
The name of the table in the database to write to.
- Parameters:
table- The name of the table in the database to write to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
GovernedCatalogTarget.Builder database(String database)
The name of the database to write to.
- Parameters:
database- The name of the database to write to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
GovernedCatalogTarget.Builder schemaChangePolicy(CatalogSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the governed catalog.
- Parameters:
schemaChangePolicy- A policy that specifies update behavior for the governed catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
default GovernedCatalogTarget.Builder schemaChangePolicy(Consumer<CatalogSchemaChangePolicy.Builder> schemaChangePolicy)
A policy that specifies update behavior for the governed catalog.
This is a convenience method that creates an instance of theCatalogSchemaChangePolicy.Builderavoiding the need to create one manually viaCatalogSchemaChangePolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschemaChangePolicy(CatalogSchemaChangePolicy).- Parameters:
schemaChangePolicy- a consumer that will call methods onCatalogSchemaChangePolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
schemaChangePolicy(CatalogSchemaChangePolicy)
-
-