|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.moladb.model.CreateTableRequest
public class CreateTableRequest
Represents the input of a CreateTable operation.
| Constructor Summary | |
|---|---|
CreateTableRequest()
Constructs a new CreateTableRequest object. |
|
CreateTableRequest(String name)
Constructs a new CreateTableRequest object. |
|
| Method Summary | |
|---|---|
List<AttributeDefinition> |
getAttributeDefinitions()
Get the attribute definitions. |
List<KeySchemaElement> |
getKeySchema()
Get the Key information for creating a table, contains hashkey or hashkey and rangekey. |
ProvisionedThroughput |
getProvisionedThroughput()
Get the privisioned throughput when creating a table. |
String |
getTableName()
Get the name of the table to create. |
void |
setAttributeDefinitions(List<AttributeDefinition> attributeDefinitions)
Add attributes with value type and name when creating a table. |
void |
setKeySchema(List<KeySchemaElement> keySchema)
Set the Key information for creating a table, contains hashkey or hashkey and rangekey. |
void |
setProvisionedThroughput(ProvisionedThroughput provision)
Set the privisioned throughput when creating a table. |
void |
setTableName(String tableName)
Set the name of the table to create. |
String |
toString()
Return a string representation of request information. |
CreateTableRequest |
withAttributeDefinitions(List<AttributeDefinition> attributeDefinitions)
Add attributes with value type and name when creating a table. |
CreateTableRequest |
withKeySchema(List<KeySchemaElement> keySchema)
Set the Key information for creating a table, contains hashkey or hashkey and rangekey. |
CreateTableRequest |
withProvisionedThroughput(ProvisionedThroughput provision)
Set the provisioned throughput when creating a table. |
CreateTableRequest |
withRequestCredentials(BceCredentials credentials)
|
CreateTableRequest |
withTableName(String tableName)
Set the name of the table to create. |
| Methods inherited from class com.baidubce.model.AbstractBceRequest |
|---|
getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateTableRequest()
public CreateTableRequest(String name)
name - The name of the table to create.| Method Detail |
|---|
public String getTableName()
public void setTableName(String tableName)
tableName - The name of the table to create.public CreateTableRequest withTableName(String tableName)
tableName - The name of the table to create.
public void setAttributeDefinitions(List<AttributeDefinition> attributeDefinitions)
attributeDefinitions - A list of attributes with name and value for creating a table, the type is ListAttributeDefinitionpublic CreateTableRequest withAttributeDefinitions(List<AttributeDefinition> attributeDefinitions)
attributeDefinitions - A list of attributes with name and value for creating a table, the type is ListAttributeDefinitionpublic List<AttributeDefinition> getAttributeDefinitions()
AttributeDefinitionpublic void setKeySchema(List<KeySchemaElement> keySchema)
keySchema - The Key information for creating a table, contains hashkey or hashkey and rangekey.
The type is ListKeySchemaElementpublic CreateTableRequest withKeySchema(List<KeySchemaElement> keySchema)
keySchema - The Key information for creating a table, contains hashkey or hashkey and rangekey.
The type is ListKeySchemaElementpublic List<KeySchemaElement> getKeySchema()
KeySchemaElementpublic void setProvisionedThroughput(ProvisionedThroughput provision)
provision - The privisioned throughtput information when creating a table.ProvisionedThroughputpublic CreateTableRequest withProvisionedThroughput(ProvisionedThroughput provision)
provision - The provisioned throughtput information when creating a table.
ProvisionedThroughputpublic ProvisionedThroughput getProvisionedThroughput()
ProvisionedThroughputpublic String toString()
toString in class Objectpublic CreateTableRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||