Class TokenPoolCacheEvent.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class TokenPoolCacheEvent.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for TokenPoolCacheEvent instances.
-
-
Field Summary
Fields Modifier and Type Field Description public TokenPoolCacheKey
poolKey
public TokenPoolCacheKey.Builder
poolKeyBuilder
public Object
payload
-
Method Summary
Modifier and Type Method Description TokenPoolCacheKey
getPoolKey()
Gets the value of the 'poolKey' field. TokenPoolCacheEvent.Builder
setPoolKey(TokenPoolCacheKey value)
Sets the value of the 'poolKey' field. TokenPoolCacheKey.Builder
getPoolKeyBuilder()
Gets the Builder instance for the 'poolKey' field and creates one if it doesn't exist yet. TokenPoolCacheEvent.Builder
setPoolKeyBuilder(TokenPoolCacheKey.Builder value)
Sets the Builder instance for the 'poolKey' field The key of the cache pool the event is for Object
getPayload()
Gets the value of the 'payload' field. TokenPoolCacheEvent.Builder
setPayload(Object value)
Sets the value of the 'payload' field. boolean
hasPoolKey()
Checks whether the 'poolKey' field has been set. boolean
hasPoolKeyBuilder()
Checks whether the 'poolKey' field has an active Builder instance The key of the cache pool the event is for TokenPoolCacheEvent.Builder
clearPoolKey()
Clears the value of the 'poolKey' field. boolean
hasPayload()
Checks whether the 'payload' field has been set. TokenPoolCacheEvent.Builder
clearPayload()
Clears the value of the 'payload' field. TokenPoolCacheEvent
build()
-
-
Method Detail
-
getPoolKey
TokenPoolCacheKey getPoolKey()
Gets the value of the 'poolKey' field. The key of the cache pool the event is for
-
setPoolKey
TokenPoolCacheEvent.Builder setPoolKey(TokenPoolCacheKey value)
Sets the value of the 'poolKey' field. The key of the cache pool the event is for
- Parameters:
value
- The value of 'poolKey'.
-
getPoolKeyBuilder
TokenPoolCacheKey.Builder getPoolKeyBuilder()
Gets the Builder instance for the 'poolKey' field and creates one if it doesn't exist yet. The key of the cache pool the event is for
-
setPoolKeyBuilder
TokenPoolCacheEvent.Builder setPoolKeyBuilder(TokenPoolCacheKey.Builder value)
Sets the Builder instance for the 'poolKey' field The key of the cache pool the event is for
- Parameters:
value
- The builder instance that must be set.
-
getPayload
Object getPayload()
Gets the value of the 'payload' field. Represents the specific type and data of inbound event
-
setPayload
TokenPoolCacheEvent.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'.
-
hasPoolKey
boolean hasPoolKey()
Checks whether the 'poolKey' field has been set. The key of the cache pool the event is for
-
hasPoolKeyBuilder
boolean hasPoolKeyBuilder()
Checks whether the 'poolKey' field has an active Builder instance The key of the cache pool the event is for
-
clearPoolKey
TokenPoolCacheEvent.Builder clearPoolKey()
Clears the value of the 'poolKey' field. The key of the cache pool the event is for
-
hasPayload
boolean hasPayload()
Checks whether the 'payload' field has been set. Represents the specific type and data of inbound event
-
clearPayload
TokenPoolCacheEvent.Builder clearPayload()
Clears the value of the 'payload' field. Represents the specific type and data of inbound event
-
build
TokenPoolCacheEvent build()
-
-
-
-