Class ImmutableFormTaggedEvent.Builder

  • Enclosing class:
    ImmutableFormTaggedEvent

    @NotThreadSafe
    public static final class ImmutableFormTaggedEvent.Builder
    extends Object
    Builds instances of type ImmutableFormTaggedEvent. Initialize attributes and then invoke the build() method to create an immutable instance.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Method Detail

      • from

        @CanIgnoreReturnValue
        public final ImmutableFormTaggedEvent.Builder from​(DistributedEvent instance)
        Fill a builder with attribute values from the provided io.dialob.client.spi.event.DistributedEvent instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • from

        @CanIgnoreReturnValue
        public final ImmutableFormTaggedEvent.Builder from​(DistributedEvent.FormTaggedEvent instance)
        Fill a builder with attribute values from the provided io.dialob.client.spi.event.DistributedEvent.FormTaggedEvent instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • from

        @CanIgnoreReturnValue
        public final ImmutableFormTaggedEvent.Builder from​(DistributedEvent.FormEvent instance)
        Fill a builder with attribute values from the provided io.dialob.client.spi.event.DistributedEvent.FormEvent instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • formId

        @CanIgnoreReturnValue
        public final ImmutableFormTaggedEvent.Builder formId​(String formId)
        Initializes the value for the formId attribute.
        Parameters:
        formId - The value for formId
        Returns:
        this builder for use in a chained invocation
      • source

        @CanIgnoreReturnValue
        public final ImmutableFormTaggedEvent.Builder source​(String source)
        Initializes the value for the source attribute.
        Parameters:
        source - The value for source
        Returns:
        this builder for use in a chained invocation
      • formName

        @CanIgnoreReturnValue
        public final ImmutableFormTaggedEvent.Builder formName​(String formName)
        Initializes the value for the formName attribute.
        Parameters:
        formName - The value for formName
        Returns:
        this builder for use in a chained invocation
      • tagName

        @CanIgnoreReturnValue
        public final ImmutableFormTaggedEvent.Builder tagName​(String tagName)
        Initializes the value for the tagName attribute.
        Parameters:
        tagName - The value for tagName
        Returns:
        this builder for use in a chained invocation
      • refName

        @CanIgnoreReturnValue
        public final ImmutableFormTaggedEvent.Builder refName​(@Nullable
                                                              String refName)
        Initializes the value for the refName attribute.
        Parameters:
        refName - The value for refName (can be null)
        Returns:
        this builder for use in a chained invocation