Class TokenSyncEvent.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class TokenSyncEvent.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for TokenSyncEvent instances.
-
-
Field Summary
Fields Modifier and Type Field Description public HoldingIdentity
holdingIdentity
public HoldingIdentity.Builder
holdingIdentityBuilder
public Object
payload
-
Method Summary
Modifier and Type Method Description HoldingIdentity
getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. TokenSyncEvent.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. TokenSyncEvent.Builder
setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field The holding identity of the user making the request Object
getPayload()
Gets the value of the 'payload' field. TokenSyncEvent.Builder
setPayload(Object value)
Sets the value of the 'payload' field. boolean
hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. boolean
hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance The holding identity of the user making the request TokenSyncEvent.Builder
clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. boolean
hasPayload()
Checks whether the 'payload' field has been set. TokenSyncEvent.Builder
clearPayload()
Clears the value of the 'payload' field. TokenSyncEvent
build()
-
-
Method Detail
-
getHoldingIdentity
HoldingIdentity getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. The holding identity of the user making the request
- Returns:
The value.
-
setHoldingIdentity
TokenSyncEvent.Builder setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. The holding identity of the user making the request
- Parameters:
value
- The value of 'holdingIdentity'.- Returns:
This builder.
-
getHoldingIdentityBuilder
HoldingIdentity.Builder getHoldingIdentityBuilder()
Gets the Builder instance for the 'holdingIdentity' field and creates one if it doesn't exist yet. The holding identity of the user making the request
- Returns:
This builder.
-
setHoldingIdentityBuilder
TokenSyncEvent.Builder setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field The holding identity of the user making the request
- Parameters:
value
- The builder instance that must be set.- Returns:
This builder.
-
getPayload
Object getPayload()
Gets the value of the 'payload' field. Represents the specific type and data of inbound event
- Returns:
The value.
-
setPayload
TokenSyncEvent.Builder setPayload(Object value)
Sets the value of the 'payload' field. Represents the specific type and data of inbound event
- Parameters:
value
- The value of 'payload'.- Returns:
This builder.
-
hasHoldingIdentity
boolean hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. The holding identity of the user making the request
- Returns:
True if the 'holdingIdentity' field has been set, false otherwise.
-
hasHoldingIdentityBuilder
boolean hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance The holding identity of the user making the request
- Returns:
True if the 'holdingIdentity' field has an active Builder instance
-
clearHoldingIdentity
TokenSyncEvent.Builder clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. The holding identity of the user making the request
- Returns:
This builder.
-
hasPayload
boolean hasPayload()
Checks whether the 'payload' field has been set. Represents the specific type and data of inbound event
- Returns:
True if the 'payload' field has been set, false otherwise.
-
clearPayload
TokenSyncEvent.Builder clearPayload()
Clears the value of the 'payload' field. Represents the specific type and data of inbound event
- Returns:
This builder.
-
build
TokenSyncEvent build()
-
-
-
-