Package com.oracle.bmc.nosql.model
Class Index.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.Index.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Index
build()
Index.Builder
compartmentId(String compartmentId)
Compartment Identifier.Index.Builder
copy(Index model)
Index.Builder
keys(List<IndexKey> keys)
A set of keys for a secondary index.Index.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.Index.Builder
lifecycleState(Index.LifecycleState lifecycleState)
The state of an index.Index.Builder
name(String name)
Index name.Index.Builder
tableId(String tableId)
the OCID of the table to which this index belongs.Index.Builder
tableName(String tableName)
The name of the table to which this index belongs.
-
-
-
Method Detail
-
name
public Index.Builder name(String name)
Index name.- Parameters:
name
- the value to set- Returns:
- this builder
-
compartmentId
public Index.Builder compartmentId(String compartmentId)
Compartment Identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
tableName
public Index.Builder tableName(String tableName)
The name of the table to which this index belongs.- Parameters:
tableName
- the value to set- Returns:
- this builder
-
tableId
public Index.Builder tableId(String tableId)
the OCID of the table to which this index belongs.- Parameters:
tableId
- the value to set- Returns:
- this builder
-
keys
public Index.Builder keys(List<IndexKey> keys)
A set of keys for a secondary index.- Parameters:
keys
- the value to set- Returns:
- this builder
-
lifecycleState
public Index.Builder lifecycleState(Index.LifecycleState lifecycleState)
The state of an index.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Index.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
build
public Index build()
-
copy
public Index.Builder copy(Index model)
-
-