Class TriggerSourcePropertiesPrototype.Builder
- java.lang.Object
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.TriggerSourcePropertiesPrototype.Builder
-
- Enclosing class:
- TriggerSourcePropertiesPrototype
public static class TriggerSourcePropertiesPrototype.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriggerSourcePropertiesPrototype.Builderbranch(java.lang.String branch)Set the branch.TriggerSourcePropertiesPrototypebuild()Builds a TriggerSourcePropertiesPrototype.TriggerSourcePropertiesPrototype.Builderpattern(java.lang.String pattern)Set the pattern.TriggerSourcePropertiesPrototype.Builderurl(java.lang.String url)Set the url.
-
-
-
Method Detail
-
build
public TriggerSourcePropertiesPrototype build()
Builds a TriggerSourcePropertiesPrototype.- Returns:
- the new TriggerSourcePropertiesPrototype instance
-
url
public TriggerSourcePropertiesPrototype.Builder url(java.lang.String url)
Set the url.- Parameters:
url- the url- Returns:
- the TriggerSourcePropertiesPrototype builder
-
branch
public TriggerSourcePropertiesPrototype.Builder branch(java.lang.String branch)
Set the branch.- Parameters:
branch- the branch- Returns:
- the TriggerSourcePropertiesPrototype builder
-
pattern
public TriggerSourcePropertiesPrototype.Builder pattern(java.lang.String pattern)
Set the pattern.- Parameters:
pattern- the pattern- Returns:
- the TriggerSourcePropertiesPrototype builder
-
-