@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDataCatalogRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateDataCatalogRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDataCatalogRequest |
addParametersEntry(String key,
String value)
Add a single Parameters entry
|
CreateDataCatalogRequest |
clearParametersEntries()
Removes all the entries added into Parameters.
|
CreateDataCatalogRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the data catalog to be created.
|
String |
getName()
The name of the data catalog to create.
|
Map<String,String> |
getParameters()
Specifies the Lambda function or functions to use for creating the data catalog.
|
List<Tag> |
getTags()
A list of comma separated tags to add to the data catalog that is created.
|
String |
getType()
The type of data catalog to create:
LAMBDA for a federated catalog or HIVE for an
external hive metastore. |
int |
hashCode() |
void |
setDescription(String description)
A description of the data catalog to be created.
|
void |
setName(String name)
The name of the data catalog to create.
|
void |
setParameters(Map<String,String> parameters)
Specifies the Lambda function or functions to use for creating the data catalog.
|
void |
setTags(Collection<Tag> tags)
A list of comma separated tags to add to the data catalog that is created.
|
void |
setType(String type)
The type of data catalog to create:
LAMBDA for a federated catalog or HIVE for an
external hive metastore. |
String |
toString()
Returns a string representation of this object.
|
CreateDataCatalogRequest |
withDescription(String description)
A description of the data catalog to be created.
|
CreateDataCatalogRequest |
withName(String name)
The name of the data catalog to create.
|
CreateDataCatalogRequest |
withParameters(Map<String,String> parameters)
Specifies the Lambda function or functions to use for creating the data catalog.
|
CreateDataCatalogRequest |
withTags(Collection<Tag> tags)
A list of comma separated tags to add to the data catalog that is created.
|
CreateDataCatalogRequest |
withTags(Tag... tags)
A list of comma separated tags to add to the data catalog that is created.
|
CreateDataCatalogRequest |
withType(DataCatalogType type)
The type of data catalog to create:
LAMBDA for a federated catalog or HIVE for an
external hive metastore. |
CreateDataCatalogRequest |
withType(String type)
The type of data catalog to create:
LAMBDA for a federated catalog or HIVE for an
external hive metastore. |
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
name - The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a
maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.public String getName()
The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
public CreateDataCatalogRequest withName(String name)
The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
name - The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a
maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.public void setType(String type)
The type of data catalog to create: LAMBDA for a federated catalog or HIVE for an
external hive metastore.
Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your
account, of which you can have only one. Specifying the GLUE type will result in an
INVALID_INPUT error.
type - The type of data catalog to create: LAMBDA for a federated catalog or HIVE for
an external hive metastore.
Do not use the GLUE type. This refers to the AwsDataCatalog that already exists
in your account, of which you can have only one. Specifying the GLUE type will result in an
INVALID_INPUT error.
DataCatalogTypepublic String getType()
The type of data catalog to create: LAMBDA for a federated catalog or HIVE for an
external hive metastore.
Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your
account, of which you can have only one. Specifying the GLUE type will result in an
INVALID_INPUT error.
LAMBDA for a federated catalog or HIVE for
an external hive metastore.
Do not use the GLUE type. This refers to the AwsDataCatalog that already exists
in your account, of which you can have only one. Specifying the GLUE type will result in an
INVALID_INPUT error.
DataCatalogTypepublic CreateDataCatalogRequest withType(String type)
The type of data catalog to create: LAMBDA for a federated catalog or HIVE for an
external hive metastore.
Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your
account, of which you can have only one. Specifying the GLUE type will result in an
INVALID_INPUT error.
type - The type of data catalog to create: LAMBDA for a federated catalog or HIVE for
an external hive metastore.
Do not use the GLUE type. This refers to the AwsDataCatalog that already exists
in your account, of which you can have only one. Specifying the GLUE type will result in an
INVALID_INPUT error.
DataCatalogTypepublic CreateDataCatalogRequest withType(DataCatalogType type)
The type of data catalog to create: LAMBDA for a federated catalog or HIVE for an
external hive metastore.
Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your
account, of which you can have only one. Specifying the GLUE type will result in an
INVALID_INPUT error.
type - The type of data catalog to create: LAMBDA for a federated catalog or HIVE for
an external hive metastore.
Do not use the GLUE type. This refers to the AwsDataCatalog that already exists
in your account, of which you can have only one. Specifying the GLUE type will result in an
INVALID_INPUT error.
DataCatalogTypepublic void setDescription(String description)
A description of the data catalog to be created.
description - A description of the data catalog to be created.public String getDescription()
A description of the data catalog to be created.
public CreateDataCatalogRequest withDescription(String description)
A description of the data catalog to be created.
description - A description of the data catalog to be created.public Map<String,String> getParameters()
Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.
For the HIVE data catalog type, use 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
For the LAMBDA data catalog type, use one of the following sets of required parameters, but not
both.
If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
metadata-function=lambda_arn, record-function=lambda_arn
If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
function=lambda_arn
For the HIVE data catalog type, use 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
For the LAMBDA data catalog type, use one of the following sets of required parameters, but
not both.
If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
metadata-function=lambda_arn, record-function=lambda_arn
If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
function=lambda_arn
public void setParameters(Map<String,String> parameters)
Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.
For the HIVE data catalog type, use 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
For the LAMBDA data catalog type, use one of the following sets of required parameters, but not
both.
If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
metadata-function=lambda_arn, record-function=lambda_arn
If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
function=lambda_arn
parameters - Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose
values depend on the catalog type.
For the HIVE data catalog type, use 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
For the LAMBDA data catalog type, use one of the following sets of required parameters, but
not both.
If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
metadata-function=lambda_arn, record-function=lambda_arn
If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
function=lambda_arn
public CreateDataCatalogRequest withParameters(Map<String,String> parameters)
Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.
For the HIVE data catalog type, use 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
For the LAMBDA data catalog type, use one of the following sets of required parameters, but not
both.
If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
metadata-function=lambda_arn, record-function=lambda_arn
If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
function=lambda_arn
parameters - Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose
values depend on the catalog type.
For the HIVE data catalog type, use 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
For the LAMBDA data catalog type, use one of the following sets of required parameters, but
not both.
If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
metadata-function=lambda_arn, record-function=lambda_arn
If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
function=lambda_arn
public CreateDataCatalogRequest addParametersEntry(String key, String value)
public CreateDataCatalogRequest clearParametersEntries()
public List<Tag> getTags()
A list of comma separated tags to add to the data catalog that is created.
public void setTags(Collection<Tag> tags)
A list of comma separated tags to add to the data catalog that is created.
tags - A list of comma separated tags to add to the data catalog that is created.public CreateDataCatalogRequest withTags(Tag... tags)
A list of comma separated tags to add to the data catalog that is created.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - A list of comma separated tags to add to the data catalog that is created.public CreateDataCatalogRequest withTags(Collection<Tag> tags)
A list of comma separated tags to add to the data catalog that is created.
tags - A list of comma separated tags to add to the data catalog that is created.public String toString()
toString in class ObjectObject.toString()public CreateDataCatalogRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.