public static class ConfigurationField.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConfigurationField |
build() |
ConfigurationField.Builder |
copy(ConfigurationField model) |
ConfigurationField.Builder |
description(String description)
Help text to guide the user in setting the configuration value.
|
ConfigurationField.Builder |
group(String group)
The name of the group to which this field belongs, if any.
|
ConfigurationField.Builder |
isMutable(Boolean isMutable)
Indicates whether or not the field may be modified (defaults to
true ). |
ConfigurationField.Builder |
isRequired(Boolean isRequired)
Indicates whether or not the field is required (defaults to
true ). |
ConfigurationField.Builder |
name(String name)
The name of the configuration field.
|
ConfigurationField.Builder |
resourceList(List<ResourceField> resourceList)
A list of resources associated with a specific configuration object.
|
ConfigurationField.Builder |
type(String type)
The type of the configuration field.
|
ConfigurationField.Builder |
value(String value)
The value of the field.
|
public ConfigurationField.Builder name(String name)
The name of the configuration field.
name
- the value to setpublic ConfigurationField.Builder group(String group)
The name of the group to which this field belongs, if any.
group
- the value to setpublic ConfigurationField.Builder type(String type)
The type of the configuration field.
type
- the value to setpublic ConfigurationField.Builder value(String value)
The value of the field.
value
- the value to setpublic ConfigurationField.Builder description(String description)
Help text to guide the user in setting the configuration value.
description
- the value to setpublic ConfigurationField.Builder resourceList(List<ResourceField> resourceList)
A list of resources associated with a specific configuration object.
resourceList
- the value to setpublic ConfigurationField.Builder isRequired(Boolean isRequired)
Indicates whether or not the field is required (defaults to true
).
isRequired
- the value to setpublic ConfigurationField.Builder isMutable(Boolean isMutable)
Indicates whether or not the field may be modified (defaults to true
).
isMutable
- the value to setpublic ConfigurationField build()
public ConfigurationField.Builder copy(ConfigurationField model)
Copyright © 2016–2023. All rights reserved.