Interface DatabaseInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatabaseInput.Builder,,DatabaseInput> SdkBuilder<DatabaseInput.Builder,,DatabaseInput> SdkPojo
- Enclosing class:
DatabaseInput
-
Method Summary
Modifier and TypeMethodDescriptioncreateTableDefaultPermissions(Collection<PrincipalPermissions> createTableDefaultPermissions) Creates a set of default permissions on the table for principals.createTableDefaultPermissions(Consumer<PrincipalPermissions.Builder>... createTableDefaultPermissions) Creates a set of default permissions on the table for principals.createTableDefaultPermissions(PrincipalPermissions... createTableDefaultPermissions) Creates a set of default permissions on the table for principals.description(String description) A description of the database.default DatabaseInput.BuilderfederatedDatabase(Consumer<FederatedDatabase.Builder> federatedDatabase) AFederatedDatabasestructure that references an entity outside the Glue Data Catalog.federatedDatabase(FederatedDatabase federatedDatabase) AFederatedDatabasestructure that references an entity outside the Glue Data Catalog.locationUri(String locationUri) The location of the database (for example, an HDFS path).The name of the database.parameters(Map<String, String> parameters) These key-value pairs define parameters and properties of the database.default DatabaseInput.BuildertargetDatabase(Consumer<DatabaseIdentifier.Builder> targetDatabase) ADatabaseIdentifierstructure that describes a target database for resource linking.targetDatabase(DatabaseIdentifier targetDatabase) ADatabaseIdentifierstructure that describes a target database for resource linking.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
- Parameters:
name- The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the database.
- Parameters:
description- A description of the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationUri
The location of the database (for example, an HDFS path).
- Parameters:
locationUri- The location of the database (for example, an HDFS path).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
These key-value pairs define parameters and properties of the database.
These key-value pairs define parameters and properties of the database.
- Parameters:
parameters- These key-value pairs define parameters and properties of the database.These key-value pairs define parameters and properties of the database.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTableDefaultPermissions
DatabaseInput.Builder createTableDefaultPermissions(Collection<PrincipalPermissions> createTableDefaultPermissions) Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used in the normal course of Glue operations.
- Parameters:
createTableDefaultPermissions- Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used in the normal course of Glue operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTableDefaultPermissions
DatabaseInput.Builder createTableDefaultPermissions(PrincipalPermissions... createTableDefaultPermissions) Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used in the normal course of Glue operations.
- Parameters:
createTableDefaultPermissions- Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used in the normal course of Glue operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTableDefaultPermissions
DatabaseInput.Builder createTableDefaultPermissions(Consumer<PrincipalPermissions.Builder>... createTableDefaultPermissions) Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used in the normal course of Glue operations.
This is a convenience method that creates an instance of thePrincipalPermissions.Builderavoiding the need to create one manually viaPrincipalPermissions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreateTableDefaultPermissions(List<PrincipalPermissions>).- Parameters:
createTableDefaultPermissions- a consumer that will call methods onPrincipalPermissions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDatabase
A
DatabaseIdentifierstructure that describes a target database for resource linking.- Parameters:
targetDatabase- ADatabaseIdentifierstructure that describes a target database for resource linking.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDatabase
A
This is a convenience method that creates an instance of theDatabaseIdentifierstructure that describes a target database for resource linking.DatabaseIdentifier.Builderavoiding the need to create one manually viaDatabaseIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetDatabase(DatabaseIdentifier).- Parameters:
targetDatabase- a consumer that will call methods onDatabaseIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
federatedDatabase
A
FederatedDatabasestructure that references an entity outside the Glue Data Catalog.- Parameters:
federatedDatabase- AFederatedDatabasestructure that references an entity outside the Glue Data Catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
federatedDatabase
default DatabaseInput.Builder federatedDatabase(Consumer<FederatedDatabase.Builder> federatedDatabase) A
This is a convenience method that creates an instance of theFederatedDatabasestructure that references an entity outside the Glue Data Catalog.FederatedDatabase.Builderavoiding the need to create one manually viaFederatedDatabase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofederatedDatabase(FederatedDatabase).- Parameters:
federatedDatabase- a consumer that will call methods onFederatedDatabase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-