Class ImmutableValueSet.Entry.Builder
java.lang.Object
io.dialob.session.engine.program.model.ImmutableValueSet.Entry.Builder
- Enclosing class:
ImmutableValueSet.Entry
@Generated(from="ValueSet.Entry",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableValueSet.Entry.Builder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newEntry.from(ValueSet.Entry instance) Fill a builder with attribute values from the providedEntryinstance.Initializes the value for thekeyattribute.label(Expression label) Initializes the value for thelabelattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedEntryinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
key
Initializes the value for thekeyattribute.- Parameters:
key- The value for key- Returns:
thisbuilder for use in a chained invocation
-
label
Initializes the value for thelabelattribute.- Parameters:
label- The value for label- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newEntry.- Returns:
- An immutable instance of Entry
- Throws:
IllegalStateException- if any required attributes are missing
-