Class TriggerConfig

    • Method Detail

      • triggerType

        public final TriggerType triggerType()

        Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.

        If the service returns an enum value that is not available in the current SDK version, triggerType will return TriggerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from triggerTypeAsString().

        Returns:
        Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
        See Also:
        TriggerType
      • triggerTypeAsString

        public final String triggerTypeAsString()

        Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.

        If the service returns an enum value that is not available in the current SDK version, triggerType will return TriggerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from triggerTypeAsString().

        Returns:
        Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
        See Also:
        TriggerType
      • triggerProperties

        public final TriggerProperties triggerProperties()

        Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.

        Returns:
        Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)