Class CoffeePickTaskEventStarted.Builder

  • Enclosing class:
    CoffeePickTaskEventStarted

    public static final class CoffeePickTaskEventStarted.Builder
    extends java.lang.Object
    Builds instances of type CoffeePickTaskEventStarted. 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

        public final CoffeePickTaskEventStarted.Builder from​(CoffeePickTaskEventType instance)
        Fill a builder with attribute values from the provided com.io7m.coffeepick.api.CoffeePickTaskEventType instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • from

        public final CoffeePickTaskEventStarted.Builder from​(CoffeePickTaskEventStartedType instance)
        Fill a builder with attribute values from the provided com.io7m.coffeepick.api.CoffeePickTaskEventStartedType instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • setDescription

        public final CoffeePickTaskEventStarted.Builder setDescription​(java.lang.String description)
        Initializes the value for the description attribute.
        Parameters:
        description - The value for description
        Returns:
        this builder for use in a chained invocation