Class ExternalEventContext.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class ExternalEventContext.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for ExternalEventContext instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
requestId
public String
flowId
public KeyValuePairList
contextProperties
public KeyValuePairList.Builder
contextPropertiesBuilder
-
Method Summary
Modifier and Type Method Description String
getRequestId()
Gets the value of the 'requestId' field. ExternalEventContext.Builder
setRequestId(String value)
Sets the value of the 'requestId' field. String
getFlowId()
Gets the value of the 'flowId' field. ExternalEventContext.Builder
setFlowId(String value)
Sets the value of the 'flowId' field. KeyValuePairList
getContextProperties()
Gets the value of the 'contextProperties' field. ExternalEventContext.Builder
setContextProperties(KeyValuePairList value)
Sets the value of the 'contextProperties' field. KeyValuePairList.Builder
getContextPropertiesBuilder()
Gets the Builder instance for the 'contextProperties' field and creates one if it doesn't exist yet. ExternalEventContext.Builder
setContextPropertiesBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'contextProperties' field The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions. boolean
hasRequestId()
Checks whether the 'requestId' field has been set. ExternalEventContext.Builder
clearRequestId()
Clears the value of the 'requestId' field. boolean
hasFlowId()
Checks whether the 'flowId' field has been set. ExternalEventContext.Builder
clearFlowId()
Clears the value of the 'flowId' field. boolean
hasContextProperties()
Checks whether the 'contextProperties' field has been set. boolean
hasContextPropertiesBuilder()
Checks whether the 'contextProperties' field has an active Builder instance The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions. ExternalEventContext.Builder
clearContextProperties()
Clears the value of the 'contextProperties' field. ExternalEventContext
build()
-
-
Method Detail
-
getRequestId
String getRequestId()
Gets the value of the 'requestId' field. The request id of the external event. Used for deduplication when processing responses.
-
setRequestId
ExternalEventContext.Builder setRequestId(String value)
Sets the value of the 'requestId' field. The request id of the external event. Used for deduplication when processing responses.
- Parameters:
value
- The value of 'requestId'.
-
getFlowId
String getFlowId()
Gets the value of the 'flowId' field. The flow id of flow to respond to.
-
setFlowId
ExternalEventContext.Builder setFlowId(String value)
Sets the value of the 'flowId' field. The flow id of flow to respond to.
- Parameters:
value
- The value of 'flowId'.
-
getContextProperties
KeyValuePairList getContextProperties()
Gets the value of the 'contextProperties' field. The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions.
-
setContextProperties
ExternalEventContext.Builder setContextProperties(KeyValuePairList value)
Sets the value of the 'contextProperties' field. The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions.
- Parameters:
value
- The value of 'contextProperties'.
-
getContextPropertiesBuilder
KeyValuePairList.Builder getContextPropertiesBuilder()
Gets the Builder instance for the 'contextProperties' field and creates one if it doesn't exist yet. The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions.
-
setContextPropertiesBuilder
ExternalEventContext.Builder setContextPropertiesBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'contextProperties' field The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions.
- Parameters:
value
- The builder instance that must be set.
-
hasRequestId
boolean hasRequestId()
Checks whether the 'requestId' field has been set. The request id of the external event. Used for deduplication when processing responses.
-
clearRequestId
ExternalEventContext.Builder clearRequestId()
Clears the value of the 'requestId' field. The request id of the external event. Used for deduplication when processing responses.
-
hasFlowId
boolean hasFlowId()
Checks whether the 'flowId' field has been set. The flow id of flow to respond to.
-
clearFlowId
ExternalEventContext.Builder clearFlowId()
Clears the value of the 'flowId' field. The flow id of flow to respond to.
-
hasContextProperties
boolean hasContextProperties()
Checks whether the 'contextProperties' field has been set. The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions.
-
hasContextPropertiesBuilder
boolean hasContextPropertiesBuilder()
Checks whether the 'contextProperties' field has an active Builder instance The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions.
-
clearContextProperties
ExternalEventContext.Builder clearContextProperties()
Clears the value of the 'contextProperties' field. The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions.
-
build
ExternalEventContext build()
-
-
-
-