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.

    • Constructor Detail

    • 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.

      • 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.

      • hasRequestId

         boolean hasRequestId()

        Checks whether the 'requestId' field has been set. 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.

      • 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.