public static class PropertyDefinition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PropertyDefinition |
build() |
PropertyDefinition.Builder |
copy(PropertyDefinition model) |
PropertyDefinition.Builder |
isRequired(Boolean isRequired)
Whether instances of the type are required to set this property.
|
PropertyDefinition.Builder |
isUpdatable(Boolean isUpdatable)
Indicates if this property value can be updated.
|
PropertyDefinition.Builder |
name(String name)
Name of the property.
|
PropertyDefinition.Builder |
type(String type)
The properties value type.
|
public PropertyDefinition.Builder name(String name)
Name of the property.
name
- the value to setpublic PropertyDefinition.Builder type(String type)
The properties value type.
type
- the value to setpublic PropertyDefinition.Builder isRequired(Boolean isRequired)
Whether instances of the type are required to set this property.
isRequired
- the value to setpublic PropertyDefinition.Builder isUpdatable(Boolean isUpdatable)
Indicates if this property value can be updated.
isUpdatable
- the value to setpublic PropertyDefinition build()
public PropertyDefinition.Builder copy(PropertyDefinition model)
Copyright © 2016–2024. All rights reserved.