@Stability(value=Stable) public static final class CfnDataCatalogProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDataCatalogProps>
CfnDataCatalogProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDataCatalogProps |
build()
Builds the configured instance.
|
CfnDataCatalogProps.Builder |
description(String description)
Sets the value of
CfnDataCatalogProps.getDescription() |
CfnDataCatalogProps.Builder |
name(String name)
Sets the value of
CfnDataCatalogProps.getName() |
CfnDataCatalogProps.Builder |
parameters(IResolvable parameters)
Sets the value of
CfnDataCatalogProps.getParameters() |
CfnDataCatalogProps.Builder |
parameters(Map<String,String> parameters)
Sets the value of
CfnDataCatalogProps.getParameters() |
CfnDataCatalogProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnDataCatalogProps.getTags() |
CfnDataCatalogProps.Builder |
type(String type)
Sets the value of
CfnDataCatalogProps.getType() |
@Stability(value=Stable) public CfnDataCatalogProps.Builder name(String name)
CfnDataCatalogProps.getName()name - The name of the data catalog. This parameter is required.
The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.this@Stability(value=Stable) public CfnDataCatalogProps.Builder type(String type)
CfnDataCatalogProps.getType()type - The type of data catalog: `LAMBDA` for a federated catalog, `GLUE` for AWS Glue Catalog, or `HIVE` for an external hive metastore. This parameter is required.this@Stability(value=Stable) public CfnDataCatalogProps.Builder description(String description)
CfnDataCatalogProps.getDescription()description - A description of the data catalog.this@Stability(value=Stable) public CfnDataCatalogProps.Builder parameters(IResolvable parameters)
CfnDataCatalogProps.getParameters()parameters - Specifies the Lambda function or functions to use for the data catalog.
The mapping used depends on the catalog type.
HIVE data catalog type uses the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.
metadata-function= *lambda_arn* , sdk-version= *version_number*
LAMBDA data catalog type uses one of the following sets of required parameters, but not both.
metadata-function= *lambda_arn* , record-function= *lambda_arn*
function= *lambda_arn*
GLUE type takes a catalog ID parameter and is required. The *catalog_id* is the account ID of the AWS account to which the Glue catalog belongs.
catalog-id= *catalog_id*
GLUE data catalog type also applies to the default AwsDataCatalog that already exists in your account, of which you can have only one and cannot modify.AwsDataCatalog must be run on Athena engine version 2.INVALID_INPUT error.this@Stability(value=Stable) public CfnDataCatalogProps.Builder parameters(Map<String,String> parameters)
CfnDataCatalogProps.getParameters()parameters - Specifies the Lambda function or functions to use for the data catalog.
The mapping used depends on the catalog type.
HIVE data catalog type uses the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.
metadata-function= *lambda_arn* , sdk-version= *version_number*
LAMBDA data catalog type uses one of the following sets of required parameters, but not both.
metadata-function= *lambda_arn* , record-function= *lambda_arn*
function= *lambda_arn*
GLUE type takes a catalog ID parameter and is required. The *catalog_id* is the account ID of the AWS account to which the Glue catalog belongs.
catalog-id= *catalog_id*
GLUE data catalog type also applies to the default AwsDataCatalog that already exists in your account, of which you can have only one and cannot modify.AwsDataCatalog must be run on Athena engine version 2.INVALID_INPUT error.this@Stability(value=Stable) public CfnDataCatalogProps.Builder tags(List<? extends CfnTag> tags)
CfnDataCatalogProps.getTags()tags - The tags (key-value pairs) to associate with this resource.this@Stability(value=Stable) public CfnDataCatalogProps build()
build in interface software.amazon.jsii.Builder<CfnDataCatalogProps>CfnDataCatalogPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.