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.
      • getPayload

        public Map getPayload()
        Gets the value of the 'payload' field.
        Returns:
        The value.
      • setPayload

        public Action.Builder setPayload​(Map value)
        Sets the value of the 'payload' field.
        Parameters:
        value - The value of 'payload'.
        Returns:
        This builder.
      • hasPayload

        public boolean hasPayload()
        Checks whether the 'payload' field has been set.
        Returns:
        True if the 'payload' field has been set, false otherwise.
      • clearPayload

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

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