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.
-
-
Field Summary
Fields Modifier and Type Field Description public String
reason
public String
reasonForUser
-
Method Summary
Modifier and Type Method Description String
getReason()
Gets the value of the 'reason' field. DeclineRegistration.Builder
setReason(String value)
Sets the value of the 'reason' field. String
getReasonForUser()
Gets the value of the 'reasonForUser' field. DeclineRegistration.Builder
setReasonForUser(String value)
Sets the value of the 'reasonForUser' field. boolean
hasReason()
Checks whether the 'reason' field has been set. DeclineRegistration.Builder
clearReason()
Clears the value of the 'reason' field. boolean
hasReasonForUser()
Checks whether the 'reasonForUser' field has been set. DeclineRegistration.Builder
clearReasonForUser()
Clears the value of the 'reasonForUser' field. DeclineRegistration
build()
-
-
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.
-
build
DeclineRegistration build()
-
-
-
-