Package io.dialob.executor.command.event
Class ImmutableRowGroupItemsInitEvent.Builder
- java.lang.Object
-
- io.dialob.executor.command.event.ImmutableRowGroupItemsInitEvent.Builder
-
- Enclosing class:
- ImmutableRowGroupItemsInitEvent
@NotThreadSafe public static final class ImmutableRowGroupItemsInitEvent.Builder extends Object
Builds instances of typeImmutableRowGroupItemsInitEvent. Initialize attributes and then invoke thebuild()method to create an immutable instance.Builderis not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableRowGroupItemsInitEventbuild()Builds a newImmutableRowGroupItemsInitEvent.ImmutableRowGroupItemsInitEvent.Builderfrom(AttributeEvent instance)Fill a builder with attribute values from the providedio.dialob.executor.command.event.AttributeEventinstance.ImmutableRowGroupItemsInitEvent.Builderfrom(RowGroupItemsInitEvent instance)Fill a builder with attribute values from the providedio.dialob.executor.command.event.RowGroupItemsInitEventinstance.ImmutableRowGroupItemsInitEvent.BuildergroupId(ItemId groupId)Initializes the value for thegroupIdattribute.ImmutableRowGroupItemsInitEvent.BuilderprototypeId(ItemId prototypeId)Initializes the value for theprototypeIdattribute.ImmutableRowGroupItemsInitEvent.Buildertarget(TargetEvent target)Initializes the value for thetargetattribute.
-
-
-
Method Detail
-
from
@CanIgnoreReturnValue public final ImmutableRowGroupItemsInitEvent.Builder from(AttributeEvent instance)
Fill a builder with attribute values from the providedio.dialob.executor.command.event.AttributeEventinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
@CanIgnoreReturnValue public final ImmutableRowGroupItemsInitEvent.Builder from(RowGroupItemsInitEvent instance)
Fill a builder with attribute values from the providedio.dialob.executor.command.event.RowGroupItemsInitEventinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
target
@CanIgnoreReturnValue public final ImmutableRowGroupItemsInitEvent.Builder target(TargetEvent target)
Initializes the value for thetargetattribute.- Parameters:
target- The value for target- Returns:
thisbuilder for use in a chained invocation
-
groupId
@CanIgnoreReturnValue public final ImmutableRowGroupItemsInitEvent.Builder groupId(ItemId groupId)
Initializes the value for thegroupIdattribute.- Parameters:
groupId- The value for groupId- Returns:
thisbuilder for use in a chained invocation
-
prototypeId
@CanIgnoreReturnValue public final ImmutableRowGroupItemsInitEvent.Builder prototypeId(ItemId prototypeId)
Initializes the value for theprototypeIdattribute.- Parameters:
prototypeId- The value for prototypeId- Returns:
thisbuilder for use in a chained invocation
-
build
public ImmutableRowGroupItemsInitEvent build()
Builds a newImmutableRowGroupItemsInitEvent.- Returns:
- An immutable instance of RowGroupItemsInitEvent
- Throws:
IllegalStateException- if any required attributes are missing
-
-