Interface Catalog.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Catalog.Builder,,Catalog> SdkBuilder<Catalog.Builder,,Catalog> SdkPojo
- Enclosing class:
Catalog
-
Method Summary
Modifier and TypeMethodDescriptionallowFullTableExternalDataAccess(String allowFullTableExternalDataAccess) Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.allowFullTableExternalDataAccess(AllowFullTableExternalDataAccessEnum allowFullTableExternalDataAccess) Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.The ID of the catalog.default Catalog.BuildercatalogProperties(Consumer<CatalogPropertiesOutput.Builder> catalogProperties) ACatalogPropertiesobject that specifies data lake access properties and other custom properties.catalogProperties(CatalogPropertiesOutput catalogProperties) ACatalogPropertiesobject that specifies data lake access properties and other custom properties.createDatabaseDefaultPermissions(Collection<PrincipalPermissions> createDatabaseDefaultPermissions) An array ofPrincipalPermissionsobjects.createDatabaseDefaultPermissions(Consumer<PrincipalPermissions.Builder>... createDatabaseDefaultPermissions) An array ofPrincipalPermissionsobjects.createDatabaseDefaultPermissions(PrincipalPermissions... createDatabaseDefaultPermissions) An array ofPrincipalPermissionsobjects.createTableDefaultPermissions(Collection<PrincipalPermissions> createTableDefaultPermissions) An array ofPrincipalPermissionsobjects.createTableDefaultPermissions(Consumer<PrincipalPermissions.Builder>... createTableDefaultPermissions) An array ofPrincipalPermissionsobjects.createTableDefaultPermissions(PrincipalPermissions... createTableDefaultPermissions) An array ofPrincipalPermissionsobjects.createTime(Instant createTime) The time at which the catalog was created.description(String description) Description string, not more than 2048 bytes long, matching the URI address multi-line string pattern.default Catalog.BuilderfederatedCatalog(Consumer<FederatedCatalog.Builder> federatedCatalog) AFederatedCatalogobject that points to an entity outside the Glue Data Catalog.federatedCatalog(FederatedCatalog federatedCatalog) AFederatedCatalogobject that points to an entity outside the Glue Data Catalog.The name of the catalog.parameters(Map<String, String> parameters) A map array of key-value pairs that define parameters and properties of the catalog.resourceArn(String resourceArn) The Amazon Resource Name (ARN) assigned to the catalog resource.default Catalog.BuildertargetRedshiftCatalog(Consumer<TargetRedshiftCatalog.Builder> targetRedshiftCatalog) ATargetRedshiftCatalogobject that describes a target catalog for database resource linking.targetRedshiftCatalog(TargetRedshiftCatalog targetRedshiftCatalog) ATargetRedshiftCatalogobject that describes a target catalog for database resource linking.updateTime(Instant updateTime) The time at which the catalog was last updated.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, sdkFieldNameToField, sdkFields
-
Method Details
-
catalogId
The ID of the catalog. To grant access to the default catalog, this field should not be provided.
- Parameters:
catalogId- The ID of the catalog. To grant access to the default catalog, this field should not be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the catalog. Cannot be the same as the account ID.
- Parameters:
name- The name of the catalog. Cannot be the same as the account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The Amazon Resource Name (ARN) assigned to the catalog resource.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) assigned to the catalog resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Description string, not more than 2048 bytes long, matching the URI address multi-line string pattern. A description of the catalog.
- Parameters:
description- Description string, not more than 2048 bytes long, matching the URI address multi-line string pattern. A description of the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A map array of key-value pairs that define parameters and properties of the catalog.
- Parameters:
parameters- A map array of key-value pairs that define parameters and properties of the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time at which the catalog was created.
- Parameters:
createTime- The time at which the catalog was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
The time at which the catalog was last updated.
- Parameters:
updateTime- The time at which the catalog was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRedshiftCatalog
A
TargetRedshiftCatalogobject that describes a target catalog for database resource linking.- Parameters:
targetRedshiftCatalog- ATargetRedshiftCatalogobject that describes a target catalog for database resource linking.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRedshiftCatalog
default Catalog.Builder targetRedshiftCatalog(Consumer<TargetRedshiftCatalog.Builder> targetRedshiftCatalog) A
This is a convenience method that creates an instance of theTargetRedshiftCatalogobject that describes a target catalog for database resource linking.TargetRedshiftCatalog.Builderavoiding the need to create one manually viaTargetRedshiftCatalog.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetRedshiftCatalog(TargetRedshiftCatalog).- Parameters:
targetRedshiftCatalog- a consumer that will call methods onTargetRedshiftCatalog.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
federatedCatalog
A
FederatedCatalogobject that points to an entity outside the Glue Data Catalog.- Parameters:
federatedCatalog- AFederatedCatalogobject that points to an entity outside the Glue Data Catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
federatedCatalog
A
This is a convenience method that creates an instance of theFederatedCatalogobject that points to an entity outside the Glue Data Catalog.FederatedCatalog.Builderavoiding the need to create one manually viaFederatedCatalog.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofederatedCatalog(FederatedCatalog).- Parameters:
federatedCatalog- a consumer that will call methods onFederatedCatalog.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalogProperties
A
CatalogPropertiesobject that specifies data lake access properties and other custom properties.- Parameters:
catalogProperties- ACatalogPropertiesobject that specifies data lake access properties and other custom properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogProperties
default Catalog.Builder catalogProperties(Consumer<CatalogPropertiesOutput.Builder> catalogProperties) A
This is a convenience method that creates an instance of theCatalogPropertiesobject that specifies data lake access properties and other custom properties.CatalogPropertiesOutput.Builderavoiding the need to create one manually viaCatalogPropertiesOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocatalogProperties(CatalogPropertiesOutput).- Parameters:
catalogProperties- a consumer that will call methods onCatalogPropertiesOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createTableDefaultPermissions
Catalog.Builder createTableDefaultPermissions(Collection<PrincipalPermissions> createTableDefaultPermissions) An array of
PrincipalPermissionsobjects. Creates a set of default permissions on the table(s) for principals. Used by Amazon Web Services Lake Formation. Not used in the normal course of Glue operations.- Parameters:
createTableDefaultPermissions- An array ofPrincipalPermissionsobjects. Creates a set of default permissions on the table(s) for principals. Used by Amazon Web Services 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
Catalog.Builder createTableDefaultPermissions(PrincipalPermissions... createTableDefaultPermissions) An array of
PrincipalPermissionsobjects. Creates a set of default permissions on the table(s) for principals. Used by Amazon Web Services Lake Formation. Not used in the normal course of Glue operations.- Parameters:
createTableDefaultPermissions- An array ofPrincipalPermissionsobjects. Creates a set of default permissions on the table(s) for principals. Used by Amazon Web Services 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
Catalog.Builder createTableDefaultPermissions(Consumer<PrincipalPermissions.Builder>... createTableDefaultPermissions) An array of
This is a convenience method that creates an instance of thePrincipalPermissionsobjects. Creates a set of default permissions on the table(s) for principals. Used by Amazon Web Services Lake Formation. Not used in the normal course of Glue operations.PrincipalPermissions.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:
-
createDatabaseDefaultPermissions
Catalog.Builder createDatabaseDefaultPermissions(Collection<PrincipalPermissions> createDatabaseDefaultPermissions) An array of
PrincipalPermissionsobjects. Creates a set of default permissions on the database(s) for principals. Used by Amazon Web Services Lake Formation. Not used in the normal course of Glue operations.- Parameters:
createDatabaseDefaultPermissions- An array ofPrincipalPermissionsobjects. Creates a set of default permissions on the database(s) for principals. Used by Amazon Web Services 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.
-
createDatabaseDefaultPermissions
Catalog.Builder createDatabaseDefaultPermissions(PrincipalPermissions... createDatabaseDefaultPermissions) An array of
PrincipalPermissionsobjects. Creates a set of default permissions on the database(s) for principals. Used by Amazon Web Services Lake Formation. Not used in the normal course of Glue operations.- Parameters:
createDatabaseDefaultPermissions- An array ofPrincipalPermissionsobjects. Creates a set of default permissions on the database(s) for principals. Used by Amazon Web Services 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.
-
createDatabaseDefaultPermissions
Catalog.Builder createDatabaseDefaultPermissions(Consumer<PrincipalPermissions.Builder>... createDatabaseDefaultPermissions) An array of
This is a convenience method that creates an instance of thePrincipalPermissionsobjects. Creates a set of default permissions on the database(s) for principals. Used by Amazon Web Services Lake Formation. Not used in the normal course of Glue operations.PrincipalPermissions.Builderavoiding the need to create one manually viaPrincipalPermissions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreateDatabaseDefaultPermissions(List<PrincipalPermissions>).- Parameters:
createDatabaseDefaultPermissions- 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:
-
allowFullTableExternalDataAccess
Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.
- Parameters:
allowFullTableExternalDataAccess- Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowFullTableExternalDataAccess
Catalog.Builder allowFullTableExternalDataAccess(AllowFullTableExternalDataAccessEnum allowFullTableExternalDataAccess) Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.
- Parameters:
allowFullTableExternalDataAccess- Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-