Class MembershipRequestContext.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipRequestContext.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipRequestContext instances.
-
-
Field Summary
Fields Modifier and Type Field Description public Instant
requestTimestamp
public String
requestId
public HoldingIdentity
holdingIdentity
public HoldingIdentity.Builder
holdingIdentityBuilder
-
Method Summary
Modifier and Type Method Description Instant
getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. MembershipRequestContext.Builder
setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. String
getRequestId()
Gets the value of the 'requestId' field. MembershipRequestContext.Builder
setRequestId(String value)
Sets the value of the 'requestId' field. HoldingIdentity
getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. MembershipRequestContext.Builder
setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. HoldingIdentity.Builder
getHoldingIdentityBuilder()
Gets the Builder instance for the 'holdingIdentity' field and creates one if it doesn't exist yet. MembershipRequestContext.Builder
setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field Holding identity of the member for which the request is made. boolean
hasRequestTimestamp()
Checks whether the 'requestTimestamp' field has been set. MembershipRequestContext.Builder
clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. boolean
hasRequestId()
Checks whether the 'requestId' field has been set. MembershipRequestContext.Builder
clearRequestId()
Clears the value of the 'requestId' field. boolean
hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. boolean
hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance Holding identity of the member for which the request is made. MembershipRequestContext.Builder
clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. MembershipRequestContext
build()
-
-
Method Detail
-
getRequestTimestamp
Instant getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request.
-
setRequestTimestamp
MembershipRequestContext.Builder setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request.
- Parameters:
value
- The value of 'requestTimestamp'.
-
getRequestId
String getRequestId()
Gets the value of the 'requestId' field. Request id which can be used to track the request progress.
-
setRequestId
MembershipRequestContext.Builder setRequestId(String value)
Sets the value of the 'requestId' field. Request id which can be used to track the request progress.
- Parameters:
value
- The value of 'requestId'.
-
getHoldingIdentity
HoldingIdentity getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. Holding identity of the member for which the request is made. null is request is not made on behalf of any member in particular (e.g. querying a cluster level table).
-
setHoldingIdentity
MembershipRequestContext.Builder setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. Holding identity of the member for which the request is made. null is request is not made on behalf of any member in particular (e.g. querying a cluster level table).
- Parameters:
value
- The value of 'holdingIdentity'.
-
getHoldingIdentityBuilder
HoldingIdentity.Builder getHoldingIdentityBuilder()
Gets the Builder instance for the 'holdingIdentity' field and creates one if it doesn't exist yet. Holding identity of the member for which the request is made. null is request is not made on behalf of any member in particular (e.g. querying a cluster level table).
-
setHoldingIdentityBuilder
MembershipRequestContext.Builder setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field Holding identity of the member for which the request is made. null is request is not made on behalf of any member in particular (e.g. querying a cluster level table).
- Parameters:
value
- The builder instance that must be set.
-
hasRequestTimestamp
boolean hasRequestTimestamp()
Checks whether the 'requestTimestamp' field has been set. Time ([Instant]) in milliseconds of the request.
-
clearRequestTimestamp
MembershipRequestContext.Builder clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request.
-
hasRequestId
boolean hasRequestId()
Checks whether the 'requestId' field has been set. Request id which can be used to track the request progress.
-
clearRequestId
MembershipRequestContext.Builder clearRequestId()
Clears the value of the 'requestId' field. Request id which can be used to track the request progress.
-
hasHoldingIdentity
boolean hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. Holding identity of the member for which the request is made. null is request is not made on behalf of any member in particular (e.g. querying a cluster level table).
-
hasHoldingIdentityBuilder
boolean hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance Holding identity of the member for which the request is made. null is request is not made on behalf of any member in particular (e.g. querying a cluster level table).
-
clearHoldingIdentity
MembershipRequestContext.Builder clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. Holding identity of the member for which the request is made. null is request is not made on behalf of any member in particular (e.g. querying a cluster level table).
-
build
MembershipRequestContext build()
-
-
-
-