Class DefinitionSourceProperties
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.DefinitionSourceProperties
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DefinitionSourceProperties extends com.ibm.cloud.sdk.core.service.model.GenericModelProperties of the source, which define the URL of the repository and a branch or tag.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefinitionSourceProperties.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringbranch()Gets the branch.DefinitionSourceProperties.BuildernewBuilder()New builder.java.lang.Stringpath()Gets the path.java.lang.Stringtag()Gets the tag.Tooltool()Gets the tool.java.lang.Stringurl()Gets the url.
-
-
-
Method Detail
-
newBuilder
public DefinitionSourceProperties.Builder newBuilder()
New builder.- Returns:
- a DefinitionSourceProperties builder
-
url
public java.lang.String url()
Gets the url. URL of the definition repository.- Returns:
- the url
-
branch
public java.lang.String branch()
Gets the branch. A branch from the repo, specify one of branch or tag only.- Returns:
- the branch
-
tag
public java.lang.String tag()
Gets the tag. A tag from the repo, specify one of branch or tag only.- Returns:
- the tag
-
path
public java.lang.String path()
Gets the path. The path to the definition's YAML files.- Returns:
- the path
-
tool
public Tool tool()
Gets the tool. Reference to the repository tool in the parent toolchain.- Returns:
- the tool
-
-