Class TriggerSourcePrototype.Builder
- java.lang.Object
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.TriggerSourcePrototype.Builder
-
- Enclosing class:
- TriggerSourcePrototype
public static class TriggerSourcePrototype.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(java.lang.String type, TriggerSourcePropertiesPrototype xProperties)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriggerSourcePrototypebuild()Builds a TriggerSourcePrototype.TriggerSourcePrototype.Buildertype(java.lang.String type)Set the type.TriggerSourcePrototype.BuilderxProperties(TriggerSourcePropertiesPrototype xProperties)Set the xProperties.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String type, TriggerSourcePropertiesPrototype xProperties)Instantiates a new builder with required properties.- Parameters:
type- the typexProperties- the xProperties
-
-
Method Detail
-
build
public TriggerSourcePrototype build()
Builds a TriggerSourcePrototype.- Returns:
- the new TriggerSourcePrototype instance
-
type
public TriggerSourcePrototype.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the TriggerSourcePrototype builder
-
xProperties
public TriggerSourcePrototype.Builder xProperties(TriggerSourcePropertiesPrototype xProperties)
Set the xProperties.- Parameters:
xProperties- the xProperties- Returns:
- the TriggerSourcePrototype builder
-
-