Package com.oracle.bmc.nosql.model
Class CreateIndexDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.nosql.model.CreateIndexDetails.Builder
 
- 
- Enclosing class:
- CreateIndexDetails
 
 public static class CreateIndexDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIndexDetailsbuild()CreateIndexDetails.BuildercompartmentId(String compartmentId)The OCID of the table’s compartment.CreateIndexDetails.Buildercopy(CreateIndexDetails model)CreateIndexDetails.BuilderisIfNotExists(Boolean isIfNotExists)If true, the operation completes successfully even when the index exists.CreateIndexDetails.Builderkeys(List<IndexKey> keys)A set of keys for a secondary index.CreateIndexDetails.Buildername(String name)Index name.
 
- 
- 
- 
Method Detail- 
namepublic CreateIndexDetails.Builder name(String name) Index name.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateIndexDetails.Builder compartmentId(String compartmentId) The OCID of the table’s compartment.Required if the tableNameOrId path parameter is a table name. Optional if tableNameOrId is an OCID. If tableNameOrId is an OCID, and compartmentId is supplied, the latter must match the identified table’s compartmentId. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
keyspublic CreateIndexDetails.Builder keys(List<IndexKey> keys) A set of keys for a secondary index.- Parameters:
- keys- the value to set
- Returns:
- this builder
 
 - 
isIfNotExistspublic CreateIndexDetails.Builder isIfNotExists(Boolean isIfNotExists) If true, the operation completes successfully even when the index exists.Otherwise, an attempt to create an index that already exists will return an error. - Parameters:
- isIfNotExists- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateIndexDetails build() 
 - 
copypublic CreateIndexDetails.Builder copy(CreateIndexDetails model) 
 
- 
 
-