Class ExecutionTrigger

    • Method Detail

      • triggerType

        public final TriggerType triggerType()

        The type of change-detection method, command, or user interaction that started a pipeline execution.

        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:
        The type of change-detection method, command, or user interaction that started a pipeline execution.
        See Also:
        TriggerType
      • triggerTypeAsString

        public final String triggerTypeAsString()

        The type of change-detection method, command, or user interaction that started a pipeline execution.

        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:
        The type of change-detection method, command, or user interaction that started a pipeline execution.
        See Also:
        TriggerType
      • triggerDetail

        public final String triggerDetail()

        Detail related to the event that started a pipeline execution, such as the webhook ARN of the webhook that triggered the pipeline execution or the user ARN for a user-initiated start-pipeline-execution CLI command.

        Returns:
        Detail related to the event that started a pipeline execution, such as the webhook ARN of the webhook that triggered the pipeline execution or the user ARN for a user-initiated start-pipeline-execution CLI command.
      • 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)