@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTableRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTableRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTableRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCatalogId()
The ID of the Data Catalog in which to create the
Table . |
String |
getDatabaseName()
The catalog database in which to create the new table.
|
OpenTableFormatInput |
getOpenTableFormatInput()
Specifies an
OpenTableFormatInput structure when creating an open format table. |
List<PartitionIndex> |
getPartitionIndexes()
A list of partition indexes,
PartitionIndex structures, to create in the table. |
TableInput |
getTableInput()
The
TableInput object that defines the metadata table to create in the catalog. |
String |
getTransactionId()
The ID of the transaction.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog in which to create the
Table . |
void |
setDatabaseName(String databaseName)
The catalog database in which to create the new table.
|
void |
setOpenTableFormatInput(OpenTableFormatInput openTableFormatInput)
Specifies an
OpenTableFormatInput structure when creating an open format table. |
void |
setPartitionIndexes(Collection<PartitionIndex> partitionIndexes)
A list of partition indexes,
PartitionIndex structures, to create in the table. |
void |
setTableInput(TableInput tableInput)
The
TableInput object that defines the metadata table to create in the catalog. |
void |
setTransactionId(String transactionId)
The ID of the transaction.
|
String |
toString()
Returns a string representation of this object.
|
CreateTableRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog in which to create the
Table . |
CreateTableRequest |
withDatabaseName(String databaseName)
The catalog database in which to create the new table.
|
CreateTableRequest |
withOpenTableFormatInput(OpenTableFormatInput openTableFormatInput)
Specifies an
OpenTableFormatInput structure when creating an open format table. |
CreateTableRequest |
withPartitionIndexes(Collection<PartitionIndex> partitionIndexes)
A list of partition indexes,
PartitionIndex structures, to create in the table. |
CreateTableRequest |
withPartitionIndexes(PartitionIndex... partitionIndexes)
A list of partition indexes,
PartitionIndex structures, to create in the table. |
CreateTableRequest |
withTableInput(TableInput tableInput)
The
TableInput object that defines the metadata table to create in the catalog. |
CreateTableRequest |
withTransactionId(String transactionId)
The ID of the transaction.
|
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 setCatalogId(String catalogId)
The ID of the Data Catalog in which to create the Table
. If none is supplied, the Amazon Web
Services account ID is used by default.
catalogId
- The ID of the Data Catalog in which to create the Table
. If none is supplied, the Amazon Web
Services account ID is used by default.public String getCatalogId()
The ID of the Data Catalog in which to create the Table
. If none is supplied, the Amazon Web
Services account ID is used by default.
Table
. If none is supplied, the Amazon Web
Services account ID is used by default.public CreateTableRequest withCatalogId(String catalogId)
The ID of the Data Catalog in which to create the Table
. If none is supplied, the Amazon Web
Services account ID is used by default.
catalogId
- The ID of the Data Catalog in which to create the Table
. If none is supplied, the Amazon Web
Services account ID is used by default.public void setDatabaseName(String databaseName)
The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.
databaseName
- The catalog database in which to create the new table. For Hive compatibility, this name is entirely
lowercase.public String getDatabaseName()
The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.
public CreateTableRequest withDatabaseName(String databaseName)
The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.
databaseName
- The catalog database in which to create the new table. For Hive compatibility, this name is entirely
lowercase.public void setTableInput(TableInput tableInput)
The TableInput
object that defines the metadata table to create in the catalog.
tableInput
- The TableInput
object that defines the metadata table to create in the catalog.public TableInput getTableInput()
The TableInput
object that defines the metadata table to create in the catalog.
TableInput
object that defines the metadata table to create in the catalog.public CreateTableRequest withTableInput(TableInput tableInput)
The TableInput
object that defines the metadata table to create in the catalog.
tableInput
- The TableInput
object that defines the metadata table to create in the catalog.public List<PartitionIndex> getPartitionIndexes()
A list of partition indexes, PartitionIndex
structures, to create in the table.
PartitionIndex
structures, to create in the table.public void setPartitionIndexes(Collection<PartitionIndex> partitionIndexes)
A list of partition indexes, PartitionIndex
structures, to create in the table.
partitionIndexes
- A list of partition indexes, PartitionIndex
structures, to create in the table.public CreateTableRequest withPartitionIndexes(PartitionIndex... partitionIndexes)
A list of partition indexes, PartitionIndex
structures, to create in the table.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionIndexes(java.util.Collection)
or withPartitionIndexes(java.util.Collection)
if you
want to override the existing values.
partitionIndexes
- A list of partition indexes, PartitionIndex
structures, to create in the table.public CreateTableRequest withPartitionIndexes(Collection<PartitionIndex> partitionIndexes)
A list of partition indexes, PartitionIndex
structures, to create in the table.
partitionIndexes
- A list of partition indexes, PartitionIndex
structures, to create in the table.public void setTransactionId(String transactionId)
The ID of the transaction.
transactionId
- The ID of the transaction.public String getTransactionId()
The ID of the transaction.
public CreateTableRequest withTransactionId(String transactionId)
The ID of the transaction.
transactionId
- The ID of the transaction.public void setOpenTableFormatInput(OpenTableFormatInput openTableFormatInput)
Specifies an OpenTableFormatInput
structure when creating an open format table.
openTableFormatInput
- Specifies an OpenTableFormatInput
structure when creating an open format table.public OpenTableFormatInput getOpenTableFormatInput()
Specifies an OpenTableFormatInput
structure when creating an open format table.
OpenTableFormatInput
structure when creating an open format table.public CreateTableRequest withOpenTableFormatInput(OpenTableFormatInput openTableFormatInput)
Specifies an OpenTableFormatInput
structure when creating an open format table.
openTableFormatInput
- Specifies an OpenTableFormatInput
structure when creating an open format table.public String toString()
toString
in class Object
Object.toString()
public CreateTableRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()