Package com.oracle.bmc.nosql.model
Class Schema.Builder
- java.lang.Object
- 
- com.oracle.bmc.nosql.model.Schema.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Schemabuild()Schema.Buildercolumns(List<Column> columns)The columns of a table.Schema.Buildercopy(Schema model)Schema.Builderidentity(Identity identity)Schema.BuilderprimaryKey(List<String> primaryKey)A list of column names that make up a key.Schema.BuildershardKey(List<String> shardKey)A list of column names that make up a key.Schema.Builderttl(Integer ttl)The default Time-to-Live for the table, in days.
 
- 
- 
- 
Method Detail- 
columnspublic Schema.Builder columns(List<Column> columns) The columns of a table.- Parameters:
- columns- the value to set
- Returns:
- this builder
 
 - 
primaryKeypublic Schema.Builder primaryKey(List<String> primaryKey) A list of column names that make up a key.- Parameters:
- primaryKey- the value to set
- Returns:
- this builder
 
 - 
shardKeypublic Schema.Builder shardKey(List<String> shardKey) A list of column names that make up a key.- Parameters:
- shardKey- the value to set
- Returns:
- this builder
 
 - 
ttlpublic Schema.Builder ttl(Integer ttl) The default Time-to-Live for the table, in days.- Parameters:
- ttl- the value to set
- Returns:
- this builder
 
 - 
identitypublic Schema.Builder identity(Identity identity) 
 - 
buildpublic Schema build() 
 - 
copypublic Schema.Builder copy(Schema model) 
 
- 
 
-