Package example.avro

Class PushNotification.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<PushNotification>
example.avro.PushNotification.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<PushNotification>
Enclosing class:
PushNotification

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

    • getArn

      public CharSequence getArn()
      Gets the value of the 'arn' field.
      Returns:
      The value.
    • setArn

      public PushNotification.Builder setArn(CharSequence value)
      Sets the value of the 'arn' field.
      Parameters:
      value - The value of 'arn'.
      Returns:
      This builder.
    • hasArn

      public boolean hasArn()
      Checks whether the 'arn' field has been set.
      Returns:
      True if the 'arn' field has been set, false otherwise.
    • clearArn

      public PushNotification.Builder clearArn()
      Clears the value of the 'arn' field.
      Returns:
      This builder.
    • getText

      public CharSequence getText()
      Gets the value of the 'text' field.
      Returns:
      The value.
    • setText

      public PushNotification.Builder setText(CharSequence value)
      Sets the value of the 'text' field.
      Parameters:
      value - The value of 'text'.
      Returns:
      This builder.
    • hasText

      public boolean hasText()
      Checks whether the 'text' field has been set.
      Returns:
      True if the 'text' field has been set, false otherwise.
    • clearText

      public PushNotification.Builder clearText()
      Clears the value of the 'text' field.
      Returns:
      This builder.
    • build

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