Class Action.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder<Action>
    Enclosing class:
    Action

    public static class Action.Builder
    extends org.apache.avro.specific.SpecificRecordBuilderBase<Action>
    implements org.apache.avro.data.RecordBuilder<Action>
    RecordBuilder for Action instances.
    • Method Detail

      • getBundle

        public String getBundle()
        Gets the value of the 'bundle' field.
        Returns:
        The value.
      • setBundle

        public Action.Builder setBundle​(String value)
        Sets the value of the 'bundle' field.
        Parameters:
        value - The value of 'bundle'.
        Returns:
        This builder.
      • hasBundle

        public boolean hasBundle()
        Checks whether the 'bundle' field has been set.
        Returns:
        True if the 'bundle' field has been set, false otherwise.
      • clearBundle

        public Action.Builder clearBundle()
        Clears the value of the 'bundle' field.
        Returns:
        This builder.
      • getApplication

        public String getApplication()
        Gets the value of the 'application' field.
        Returns:
        The value.
      • setApplication

        public Action.Builder setApplication​(String value)
        Sets the value of the 'application' field.
        Parameters:
        value - The value of 'application'.
        Returns:
        This builder.
      • hasApplication

        public boolean hasApplication()
        Checks whether the 'application' field has been set.
        Returns:
        True if the 'application' field has been set, false otherwise.
      • clearApplication

        public Action.Builder clearApplication()
        Clears the value of the 'application' field.
        Returns:
        This builder.
      • getEventType

        public String getEventType()
        Gets the value of the 'event_type' field.
        Returns:
        The value.
      • setEventType

        public Action.Builder setEventType​(String value)
        Sets the value of the 'event_type' field.
        Parameters:
        value - The value of 'event_type'.
        Returns:
        This builder.
      • hasEventType

        public boolean hasEventType()
        Checks whether the 'event_type' field has been set.
        Returns:
        True if the 'event_type' field has been set, false otherwise.
      • clearEventType

        public Action.Builder clearEventType()
        Clears the value of the 'event_type' field.
        Returns:
        This builder.
      • getTimestamp

        public LocalDateTime getTimestamp()
        Gets the value of the 'timestamp' field.
        Returns:
        The value.
      • setTimestamp

        public Action.Builder setTimestamp​(LocalDateTime value)
        Sets the value of the 'timestamp' field.
        Parameters:
        value - The value of 'timestamp'.
        Returns:
        This builder.
      • hasTimestamp

        public boolean hasTimestamp()
        Checks whether the 'timestamp' field has been set.
        Returns:
        True if the 'timestamp' field has been set, false otherwise.
      • clearTimestamp

        public Action.Builder clearTimestamp()
        Clears the value of the 'timestamp' field.
        Returns:
        This builder.
      • getAccountId

        public String getAccountId()
        Gets the value of the 'account_id' field.
        Returns:
        The value.
      • setAccountId

        public Action.Builder setAccountId​(String value)
        Sets the value of the 'account_id' field.
        Parameters:
        value - The value of 'account_id'.
        Returns:
        This builder.
      • hasAccountId

        public boolean hasAccountId()
        Checks whether the 'account_id' field has been set.
        Returns:
        True if the 'account_id' field has been set, false otherwise.
      • clearAccountId

        public Action.Builder clearAccountId()
        Clears the value of the 'account_id' field.
        Returns:
        This builder.
      • getContext

        public Map getContext()
        Gets the value of the 'context' field.
        Returns:
        The value.
      • setContext

        public Action.Builder setContext​(Map value)
        Sets the value of the 'context' field.
        Parameters:
        value - The value of 'context'.
        Returns:
        This builder.
      • hasContext

        public boolean hasContext()
        Checks whether the 'context' field has been set.
        Returns:
        True if the 'context' field has been set, false otherwise.
      • clearContext

        public Action.Builder clearContext()
        Clears the value of the 'context' field.
        Returns:
        This builder.
      • getEvents

        public List<Event> getEvents()
        Gets the value of the 'events' field.
        Returns:
        The value.
      • setEvents

        public Action.Builder setEvents​(List<Event> value)
        Sets the value of the 'events' field.
        Parameters:
        value - The value of 'events'.
        Returns:
        This builder.
      • hasEvents

        public boolean hasEvents()
        Checks whether the 'events' field has been set.
        Returns:
        True if the 'events' field has been set, false otherwise.
      • clearEvents

        public Action.Builder clearEvents()
        Clears the value of the 'events' field.
        Returns:
        This builder.
      • getVersion

        public String getVersion()
        Gets the value of the 'version' field.
        Returns:
        The value.
      • setVersion

        public Action.Builder setVersion​(String value)
        Sets the value of the 'version' field.
        Parameters:
        value - The value of 'version'.
        Returns:
        This builder.
      • hasVersion

        public boolean hasVersion()
        Checks whether the 'version' field has been set.
        Returns:
        True if the 'version' field has been set, false otherwise.
      • clearVersion

        public Action.Builder clearVersion()
        Clears the value of the 'version' field.
        Returns:
        This builder.
      • getRecipients

        public List<Recipient> getRecipients()
        Gets the value of the 'recipients' field.
        Returns:
        The value.
      • setRecipients

        public Action.Builder setRecipients​(List<Recipient> value)
        Sets the value of the 'recipients' field.
        Parameters:
        value - The value of 'recipients'.
        Returns:
        This builder.
      • hasRecipients

        public boolean hasRecipients()
        Checks whether the 'recipients' field has been set.
        Returns:
        True if the 'recipients' field has been set, false otherwise.
      • clearRecipients

        public Action.Builder clearRecipients()
        Clears the value of the 'recipients' field.
        Returns:
        This builder.
      • build

        public Action build()
        Specified by:
        build in interface org.apache.avro.data.RecordBuilder<Action>