Class PipelineRunTrigger
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.PipelineRunTrigger
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PipelineRunTrigger extends com.ibm.cloud.sdk.core.service.model.GenericModelTrigger details passed when triggering a Tekton pipeline run.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPipelineRunTrigger.BuilderBuilder.
-
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.Stringname()Gets the name.PipelineRunTrigger.BuildernewBuilder()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.
-
-
-
Method Detail
-
newBuilder
public PipelineRunTrigger.Builder newBuilder()
New builder.- Returns:
- a PipelineRunTrigger builder
-
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
-
-