Class MembershipPersistenceRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipPersistenceRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipPersistenceRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public MembershipRequestContext
context
public MembershipRequestContext.Builder
contextBuilder
public Object
request
-
Method Summary
Modifier and Type Method Description MembershipRequestContext
getContext()
Gets the value of the 'context' field. MembershipPersistenceRequest.Builder
setContext(MembershipRequestContext value)
Sets the value of the 'context' field. MembershipRequestContext.Builder
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. MembershipPersistenceRequest.Builder
setContextBuilder(MembershipRequestContext.Builder value)
Sets the Builder instance for the 'context' field Context for the given request Object
getRequest()
Gets the value of the 'request' field. MembershipPersistenceRequest.Builder
setRequest(Object value)
Sets the value of the 'request' field. boolean
hasContext()
Checks whether the 'context' field has been set. boolean
hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Context for the given request MembershipPersistenceRequest.Builder
clearContext()
Clears the value of the 'context' field. boolean
hasRequest()
Checks whether the 'request' field has been set. MembershipPersistenceRequest.Builder
clearRequest()
Clears the value of the 'request' field. MembershipPersistenceRequest
build()
-
-
Method Detail
-
getContext
MembershipRequestContext getContext()
Gets the value of the 'context' field. Context for the given request
-
setContext
MembershipPersistenceRequest.Builder setContext(MembershipRequestContext value)
Sets the value of the 'context' field. Context for the given request
- Parameters:
value
- The value of 'context'.
-
getContextBuilder
MembershipRequestContext.Builder getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. Context for the given request
-
setContextBuilder
MembershipPersistenceRequest.Builder setContextBuilder(MembershipRequestContext.Builder value)
Sets the Builder instance for the 'context' field Context for the given request
- Parameters:
value
- The builder instance that must be set.
-
getRequest
Object getRequest()
Gets the value of the 'request' field. Request's payload, depends on the requested operation.
-
setRequest
MembershipPersistenceRequest.Builder setRequest(Object value)
Sets the value of the 'request' field. Request's payload, depends on the requested operation.
- Parameters:
value
- The value of 'request'.
-
hasContext
boolean hasContext()
Checks whether the 'context' field has been set. Context for the given request
-
hasContextBuilder
boolean hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Context for the given request
-
clearContext
MembershipPersistenceRequest.Builder clearContext()
Clears the value of the 'context' field. Context for the given request
-
hasRequest
boolean hasRequest()
Checks whether the 'request' field has been set. Request's payload, depends on the requested operation.
-
clearRequest
MembershipPersistenceRequest.Builder clearRequest()
Clears the value of the 'request' field. Request's payload, depends on the requested operation.
-
build
MembershipPersistenceRequest build()
-
-
-
-