Class PipelineRunTrigger

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

    public class PipelineRunTrigger
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Trigger details passed when triggering a Tekton pipeline run.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> body()
      Gets the body.
      java.util.Map<java.lang.String,​java.lang.Object> headers()
      Gets the headers.
      java.lang.String name()
      Gets the name.
      PipelineRunTrigger.Builder newBuilder()
      New builder.
      java.util.Map<java.lang.String,​java.lang.Object> secureProperties()
      Gets the secureProperties.
      java.util.Map<java.lang.String,​java.lang.Object> xProperties()
      Gets the xProperties.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • name

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

        public java.util.Map<java.lang.String,​java.lang.Object> xProperties()
        Gets the xProperties. 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 xProperties
      • secureProperties

        public java.util.Map<java.lang.String,​java.lang.Object> secureProperties()
        Gets the secureProperties. 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 secureProperties
      • headers

        public java.util.Map<java.lang.String,​java.lang.Object> headers()
        Gets the headers. 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 headers
      • body

        public java.util.Map<java.lang.String,​java.lang.Object> body()
        Gets the body. 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 body