public static class ResourceField.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceField |
build() |
ResourceField.Builder |
copy(ResourceField model) |
ResourceField.Builder |
group(String group)
The name of the group to which this field belongs to.
|
ResourceField.Builder |
name(String name)
The display name of the resource field.
|
ResourceField.Builder |
type(String type)
The type of the resource field.
|
ResourceField.Builder |
value(String value)
The value of the field.
|
public ResourceField.Builder name(String name)
The display name of the resource field.
name
- the value to setpublic ResourceField.Builder group(String group)
The name of the group to which this field belongs to.
group
- the value to setpublic ResourceField.Builder type(String type)
The type of the resource field.
type
- the value to setpublic ResourceField.Builder value(String value)
The value of the field.
value
- the value to setpublic ResourceField build()
public ResourceField.Builder copy(ResourceField model)
Copyright © 2016–2023. All rights reserved.