Class ImmutableFormDeletedEvent.Builder

  • Enclosing class:
    ImmutableFormDeletedEvent

    @NotThreadSafe
    public static final class ImmutableFormDeletedEvent.Builder
    extends Object
    Builds instances of type ImmutableFormDeletedEvent. 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 ImmutableFormDeletedEvent.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 ImmutableFormDeletedEvent.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
      • from

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

        @CanIgnoreReturnValue
        public final ImmutableFormDeletedEvent.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 ImmutableFormDeletedEvent.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