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.

        Returns:

        The value.

      • 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'.
        Returns:

        This builder.

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

        Returns:

        The value.

      • 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'.
        Returns:

        This builder.

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

        Returns:

        True if the 'reason' field has been set, false otherwise.

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

        Returns:

        This builder.

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

        Returns:

        True if the 'reasonForUser' field has been set, false otherwise.

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

        Returns:

        This builder.