Class DefinitionSource
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.DefinitionSource
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DefinitionSource extends com.ibm.cloud.sdk.core.service.model.GenericModelSource repository containing the Tekton pipeline definition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefinitionSource.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefinitionSource.BuildernewBuilder()New builder.java.lang.Stringtype()Gets the type.DefinitionSourcePropertiesxProperties()Gets the xProperties.
-
-
-
Method Detail
-
newBuilder
public DefinitionSource.Builder newBuilder()
New builder.- Returns:
- a DefinitionSource builder
-
type
public java.lang.String type()
Gets the type. The only supported source type is "git", indicating that the source is a git repository.- Returns:
- the type
-
xProperties
public DefinitionSourceProperties xProperties()
Gets the xProperties. Properties of the source, which define the URL of the repository and a branch or tag.- Returns:
- the xProperties
-
-