Package com.oracle.bmc.nosql.model
Class Identity.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.Identity.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Identitybuild()Identity.BuildercolumnName(String columnName)The name of the identity column.Identity.Buildercopy(Identity model)Identity.BuilderisAlways(Boolean isAlways)True if the identity value is GENERATED ALWAYS.Identity.BuilderisNull(Boolean isNull)True if the identity value is GENERATED BY DEFAULT ON NULL.
-
-
-
Method Detail
-
columnName
public Identity.Builder columnName(String columnName)
The name of the identity column.- Parameters:
columnName- the value to set- Returns:
- this builder
-
isAlways
public Identity.Builder isAlways(Boolean isAlways)
True if the identity value is GENERATED ALWAYS.- Parameters:
isAlways- the value to set- Returns:
- this builder
-
isNull
public Identity.Builder isNull(Boolean isNull)
True if the identity value is GENERATED BY DEFAULT ON NULL.- Parameters:
isNull- the value to set- Returns:
- this builder
-
build
public Identity build()
-
copy
public Identity.Builder copy(Identity model)
-
-