Class FlowMapperState.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class FlowMapperState.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for FlowMapperState instances.

    • Constructor Detail

    • Method Detail

      • getFlowId

         String getFlowId()

        Gets the value of the 'flowId' field. The key on which inbound events should be forwarded to on the flow event topic.

      • setFlowId

         FlowMapperState.Builder setFlowId(String value)

        Sets the value of the 'flowId' field. The key on which inbound events should be forwarded to on the flow event topic.

        Parameters:
        value - The value of 'flowId'.
      • getExpiryTime

         Long getExpiryTime()

        Gets the value of the 'expiryTime' field. The time at which this state will be set to null. This is only set for closed sessions.

      • setExpiryTime

         FlowMapperState.Builder setExpiryTime(Long value)

        Sets the value of the 'expiryTime' field. The time at which this state will be set to null. This is only set for closed sessions.

        Parameters:
        value - The value of 'expiryTime'.
      • getStatus

         FlowMapperStateType getStatus()

        Gets the value of the 'status' field. The status of a session. OPEN for ongoing sessions. CLOSING for sessions which are finished and the expiryTime has been set. ERROR for sessions which have closed due to error.

      • setStatus

         FlowMapperState.Builder setStatus(FlowMapperStateType value)

        Sets the value of the 'status' field. The status of a session. OPEN for ongoing sessions. CLOSING for sessions which are finished and the expiryTime has been set. ERROR for sessions which have closed due to error.

        Parameters:
        value - The value of 'status'.
      • hasFlowId

         boolean hasFlowId()

        Checks whether the 'flowId' field has been set. The key on which inbound events should be forwarded to on the flow event topic.

      • clearFlowId

         FlowMapperState.Builder clearFlowId()

        Clears the value of the 'flowId' field. The key on which inbound events should be forwarded to on the flow event topic.

      • hasExpiryTime

         boolean hasExpiryTime()

        Checks whether the 'expiryTime' field has been set. The time at which this state will be set to null. This is only set for closed sessions.

      • clearExpiryTime

         FlowMapperState.Builder clearExpiryTime()

        Clears the value of the 'expiryTime' field. The time at which this state will be set to null. This is only set for closed sessions.

      • hasStatus

         boolean hasStatus()

        Checks whether the 'status' field has been set. The status of a session. OPEN for ongoing sessions. CLOSING for sessions which are finished and the expiryTime has been set. ERROR for sessions which have closed due to error.

      • clearStatus

         FlowMapperState.Builder clearStatus()

        Clears the value of the 'status' field. The status of a session. OPEN for ongoing sessions. CLOSING for sessions which are finished and the expiryTime has been set. ERROR for sessions which have closed due to error.