@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, GLUE for AWS Glue
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, GLUE for AWS Glue
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, GLUE for AWS Glue
Catalog, or HIVE for an external hive metastore. |
CreateDataCatalogRequest |
withType(String type)
The type of data catalog to create:
LAMBDA for a federated catalog, GLUE for AWS Glue
Catalog, or HIVE for an external hive metastore. |
addHandlerContext, 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, withSdkRequestTimeout
public 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, GLUE
for AWS Glue
Catalog, or HIVE
for an external hive metastore.
type
- The type of data catalog to create: LAMBDA
for a federated catalog, GLUE
for AWS
Glue Catalog, or HIVE
for an external hive metastore.DataCatalogType
public String getType()
The type of data catalog to create: LAMBDA
for a federated catalog, GLUE
for AWS Glue
Catalog, or HIVE
for an external hive metastore.
LAMBDA
for a federated catalog, GLUE
for
AWS Glue Catalog, or HIVE
for an external hive metastore.DataCatalogType
public CreateDataCatalogRequest withType(String type)
The type of data catalog to create: LAMBDA
for a federated catalog, GLUE
for AWS Glue
Catalog, or HIVE
for an external hive metastore.
type
- The type of data catalog to create: LAMBDA
for a federated catalog, GLUE
for AWS
Glue Catalog, or HIVE
for an external hive metastore.DataCatalogType
public CreateDataCatalogRequest withType(DataCatalogType type)
The type of data catalog to create: LAMBDA
for a federated catalog, GLUE
for AWS Glue
Catalog, or HIVE
for an external hive metastore.
type
- The type of data catalog to create: LAMBDA
for a federated catalog, GLUE
for AWS
Glue Catalog, or HIVE
for an external hive metastore.DataCatalogType
public 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
The GLUE
type has no parameters.
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
The GLUE
type has no parameters.
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
The GLUE
type has no parameters.
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
The GLUE
type has no parameters.
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
The GLUE
type has no parameters.
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
The GLUE
type has no parameters.
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 Object
Object.toString()
public CreateDataCatalogRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()