Class CreateTektonPipelineRunOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateTektonPipelineRunOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createTektonPipelineRun options.
    • Method Detail

      • pipelineId

        public java.lang.String pipelineId()
        Gets the pipelineId. The Tekton pipeline ID.
        Returns:
        the pipelineId
      • triggerName

        public java.lang.String triggerName()
        Gets the triggerName. Trigger name.
        Returns:
        the triggerName
      • triggerProperties

        public java.util.Map<java.lang.String,​java.lang.Object> triggerProperties()
        Gets the triggerProperties. An object containing string values only that provides additional `text` properties, or overrides existing pipeline/trigger properties, to use for the created run.
        Returns:
        the triggerProperties
      • secureTriggerProperties

        public java.util.Map<java.lang.String,​java.lang.Object> secureTriggerProperties()
        Gets the secureTriggerProperties. An object containing string values only that provides additional `secure` properties, or overrides existing `secure` pipeline/trigger properties, to use for the created run.
        Returns:
        the secureTriggerProperties
      • triggerHeaders

        public java.util.Map<java.lang.String,​java.lang.Object> triggerHeaders()
        Gets the triggerHeaders. An object containing string values only that provides the request headers. Use `$(header.header_key_name)` to access it in a TriggerBinding. Most commonly used as part of a Generic Webhook to provide a verification token or signature in the request headers.
        Returns:
        the triggerHeaders
      • triggerBody

        public java.util.Map<java.lang.String,​java.lang.Object> triggerBody()
        Gets the triggerBody. An object that provides the request body. Use `$(body.body_key_name)` to access it in a TriggerBinding. Most commonly used to pass in additional properties or override properties for the pipeline run that is created.
        Returns:
        the triggerBody
      • trigger

        public PipelineRunTrigger trigger()
        Gets the trigger. Trigger details passed when triggering a Tekton pipeline run.
        Returns:
        the trigger