Class MembershipPersistenceResponse.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipPersistenceResponse.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipPersistenceResponse instances.
-
-
Field Summary
Fields Modifier and Type Field Description public MembershipResponseContext
context
public MembershipResponseContext.Builder
contextBuilder
public Object
payload
-
Method Summary
Modifier and Type Method Description MembershipResponseContext
getContext()
Gets the value of the 'context' field. MembershipPersistenceResponse.Builder
setContext(MembershipResponseContext value)
Sets the value of the 'context' field. MembershipResponseContext.Builder
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. MembershipPersistenceResponse.Builder
setContextBuilder(MembershipResponseContext.Builder value)
Sets the Builder instance for the 'context' field Context for the given request Object
getPayload()
Gets the value of the 'payload' field. MembershipPersistenceResponse.Builder
setPayload(Object value)
Sets the value of the 'payload' 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 MembershipPersistenceResponse.Builder
clearContext()
Clears the value of the 'context' field. boolean
hasPayload()
Checks whether the 'payload' field has been set. MembershipPersistenceResponse.Builder
clearPayload()
Clears the value of the 'payload' field. MembershipPersistenceResponse
build()
-
-
Method Detail
-
getContext
MembershipResponseContext getContext()
Gets the value of the 'context' field. Context for the given request
-
setContext
MembershipPersistenceResponse.Builder setContext(MembershipResponseContext value)
Sets the value of the 'context' field. Context for the given request
- Parameters:
value
- The value of 'context'.
-
getContextBuilder
MembershipResponseContext.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
MembershipPersistenceResponse.Builder setContextBuilder(MembershipResponseContext.Builder value)
Sets the Builder instance for the 'context' field Context for the given request
- Parameters:
value
- The builder instance that must be set.
-
getPayload
Object getPayload()
Gets the value of the 'payload' field. Response payload which depends on the requested operation.
-
setPayload
MembershipPersistenceResponse.Builder setPayload(Object value)
Sets the value of the 'payload' field. Response payload which depends on the requested operation.
- Parameters:
value
- The value of 'payload'.
-
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
MembershipPersistenceResponse.Builder clearContext()
Clears the value of the 'context' field. Context for the given request
-
hasPayload
boolean hasPayload()
Checks whether the 'payload' field has been set. Response payload which depends on the requested operation.
-
clearPayload
MembershipPersistenceResponse.Builder clearPayload()
Clears the value of the 'payload' field. Response payload which depends on the requested operation.
-
build
MembershipPersistenceResponse build()
-
-
-
-