Class DeclineRegistration.Builder

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

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

    RecordBuilder for DeclineRegistration instances.

    • Constructor Detail

    • Method Detail

      • getReason

         String getReason()

        Gets the value of the 'reason' field. Reason that the request was declined. This contains data that will remain internal in the MGM's system for record keeping.

      • setReason

         DeclineRegistration.Builder setReason(String value)

        Sets the value of the 'reason' field. Reason that the request was declined. This contains data that will remain internal in the MGM's system for record keeping.

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

         String getReasonForUser()

        Gets the value of the 'reasonForUser' field. Reason that the request was declined. This contains data that will be communicated to the user to provide context. If not specified, no reason will be communicated back to the user.

      • setReasonForUser

         DeclineRegistration.Builder setReasonForUser(String value)

        Sets the value of the 'reasonForUser' field. Reason that the request was declined. This contains data that will be communicated to the user to provide context. If not specified, no reason will be communicated back to the user.

        Parameters:
        value - The value of 'reasonForUser'.
      • hasReason

         boolean hasReason()

        Checks whether the 'reason' field has been set. Reason that the request was declined. This contains data that will remain internal in the MGM's system for record keeping.

      • clearReason

         DeclineRegistration.Builder clearReason()

        Clears the value of the 'reason' field. Reason that the request was declined. This contains data that will remain internal in the MGM's system for record keeping.

      • hasReasonForUser

         boolean hasReasonForUser()

        Checks whether the 'reasonForUser' field has been set. Reason that the request was declined. This contains data that will be communicated to the user to provide context. If not specified, no reason will be communicated back to the user.

      • clearReasonForUser

         DeclineRegistration.Builder clearReasonForUser()

        Clears the value of the 'reasonForUser' field. Reason that the request was declined. This contains data that will be communicated to the user to provide context. If not specified, no reason will be communicated back to the user.