Class SetOwnRegistrationStatus.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class SetOwnRegistrationStatus.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for SetOwnRegistrationStatus instances.

    • Constructor Detail

    • Method Detail

      • getRegistrationId

         String getRegistrationId()

        Gets the value of the 'registrationId' field. ID of the registration to set the status.

      • getReason

         String getReason()

        Gets the value of the 'reason' field. The reason the registration request was moved to this status. Mostly relevant for switches to negative statuses (e.g. declined) to provide further context to the user on the underlying reason.

      • setReason

         SetOwnRegistrationStatus.Builder setReason(String value)

        Sets the value of the 'reason' field. The reason the registration request was moved to this status. Mostly relevant for switches to negative statuses (e.g. declined) to provide further context to the user on the underlying reason.

        Parameters:
        value - The value of 'reason'.
      • hasRegistrationId

         boolean hasRegistrationId()

        Checks whether the 'registrationId' field has been set. ID of the registration to set the status.

      • hasNewStatus

         boolean hasNewStatus()

        Checks whether the 'newStatus' field has been set. The new registration status.

      • hasReason

         boolean hasReason()

        Checks whether the 'reason' field has been set. The reason the registration request was moved to this status. Mostly relevant for switches to negative statuses (e.g. declined) to provide further context to the user on the underlying reason.

      • clearReason

         SetOwnRegistrationStatus.Builder clearReason()

        Clears the value of the 'reason' field. The reason the registration request was moved to this status. Mostly relevant for switches to negative statuses (e.g. declined) to provide further context to the user on the underlying reason.