Class MembershipResponseContext.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipResponseContext.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipResponseContext instances.
-
-
Field Summary
Fields Modifier and Type Field Description public Instant
requestTimestamp
public String
requestId
public Instant
responseTimestamp
public HoldingIdentity
holdingIdentity
public HoldingIdentity.Builder
holdingIdentityBuilder
-
Method Summary
Modifier and Type Method Description Instant
getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. MembershipResponseContext.Builder
setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. String
getRequestId()
Gets the value of the 'requestId' field. MembershipResponseContext.Builder
setRequestId(String value)
Sets the value of the 'requestId' field. Instant
getResponseTimestamp()
Gets the value of the 'responseTimestamp' field. MembershipResponseContext.Builder
setResponseTimestamp(Instant value)
Sets the value of the 'responseTimestamp' field. HoldingIdentity
getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. MembershipResponseContext.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. MembershipResponseContext.Builder
setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field Holding identity of the member for which the request was made. boolean
hasRequestTimestamp()
Checks whether the 'requestTimestamp' field has been set. MembershipResponseContext.Builder
clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. boolean
hasRequestId()
Checks whether the 'requestId' field has been set. MembershipResponseContext.Builder
clearRequestId()
Clears the value of the 'requestId' field. boolean
hasResponseTimestamp()
Checks whether the 'responseTimestamp' field has been set. MembershipResponseContext.Builder
clearResponseTimestamp()
Clears the value of the 'responseTimestamp' 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 was made. MembershipResponseContext.Builder
clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. MembershipResponseContext
build()
-
-
Method Detail
-
getRequestTimestamp
Instant getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request, copied from the corresponding request.
-
setRequestTimestamp
MembershipResponseContext.Builder setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request, copied from the corresponding 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
MembershipResponseContext.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'.
-
getResponseTimestamp
Instant getResponseTimestamp()
Gets the value of the 'responseTimestamp' field. Time ([Instant]) in milliseconds of the response.
-
setResponseTimestamp
MembershipResponseContext.Builder setResponseTimestamp(Instant value)
Sets the value of the 'responseTimestamp' field. Time ([Instant]) in milliseconds of the response.
- Parameters:
value
- The value of 'responseTimestamp'.
-
getHoldingIdentity
HoldingIdentity getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. Holding identity of the member for which the request was made.
-
setHoldingIdentity
MembershipResponseContext.Builder setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. Holding identity of the member for which the request was made.
- 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 was made.
-
setHoldingIdentityBuilder
MembershipResponseContext.Builder setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field Holding identity of the member for which the request was made.
- 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, copied from the corresponding request.
-
clearRequestTimestamp
MembershipResponseContext.Builder clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request, copied from the corresponding request.
-
hasRequestId
boolean hasRequestId()
Checks whether the 'requestId' field has been set. Request id which can be used to track the request progress.
-
clearRequestId
MembershipResponseContext.Builder clearRequestId()
Clears the value of the 'requestId' field. Request id which can be used to track the request progress.
-
hasResponseTimestamp
boolean hasResponseTimestamp()
Checks whether the 'responseTimestamp' field has been set. Time ([Instant]) in milliseconds of the response.
-
clearResponseTimestamp
MembershipResponseContext.Builder clearResponseTimestamp()
Clears the value of the 'responseTimestamp' field. Time ([Instant]) in milliseconds of the response.
-
hasHoldingIdentity
boolean hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. Holding identity of the member for which the request was made.
-
hasHoldingIdentityBuilder
boolean hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance Holding identity of the member for which the request was made.
-
clearHoldingIdentity
MembershipResponseContext.Builder clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. Holding identity of the member for which the request was made.
-
build
MembershipResponseContext build()
-
-
-
-