Package com.oracle.bmc.datacatalog.model
Class PropertyDefinition.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.PropertyDefinition.Builder
-
- Enclosing class:
- PropertyDefinition
public static class PropertyDefinition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyDefinitionbuild()PropertyDefinition.Buildercopy(PropertyDefinition model)PropertyDefinition.BuilderisRequired(Boolean isRequired)Whether instances of the type are required to set this property.PropertyDefinition.BuilderisUpdatable(Boolean isUpdatable)Indicates if this property value can be updated.PropertyDefinition.Buildername(String name)Name of the property.PropertyDefinition.Buildertype(String type)The properties value type.
-
-
-
Method Detail
-
name
public PropertyDefinition.Builder name(String name)
Name of the property.- Parameters:
name- the value to set- Returns:
- this builder
-
type
public PropertyDefinition.Builder type(String type)
The properties value type.- Parameters:
type- the value to set- Returns:
- this builder
-
isRequired
public PropertyDefinition.Builder isRequired(Boolean isRequired)
Whether instances of the type are required to set this property.- Parameters:
isRequired- the value to set- Returns:
- this builder
-
isUpdatable
public PropertyDefinition.Builder isUpdatable(Boolean isUpdatable)
Indicates if this property value can be updated.- Parameters:
isUpdatable- the value to set- Returns:
- this builder
-
build
public PropertyDefinition build()
-
copy
public PropertyDefinition.Builder copy(PropertyDefinition model)
-
-