Class Property.Builder
- java.lang.Object
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.Property.Builder
-
- Enclosing class:
- Property
public static class Property.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Property.BuilderaddXEnum(java.lang.String xEnum)Adds an xEnum to xEnum.Propertybuild()Builds a Property.Property.Builderhref(java.lang.String href)Set the href.Property.Buildername(java.lang.String name)Set the name.Property.Builderpath(java.lang.String path)Set the path.Property.Buildertype(java.lang.String type)Set the type.Property.Buildervalue(java.lang.String value)Set the value.Property.BuilderxEnum(java.util.List<java.lang.String> xEnum)Set the xEnum.
-
-
-
Method Detail
-
build
public Property build()
Builds a Property.- Returns:
- the new Property instance
-
addXEnum
public Property.Builder addXEnum(java.lang.String xEnum)
Adds an xEnum to xEnum.- Parameters:
xEnum- the new xEnum- Returns:
- the Property builder
-
name
public Property.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the Property builder
-
value
public Property.Builder value(java.lang.String value)
Set the value.- Parameters:
value- the value- Returns:
- the Property builder
-
href
public Property.Builder href(java.lang.String href)
Set the href.- Parameters:
href- the href- Returns:
- the Property builder
-
xEnum
public Property.Builder xEnum(java.util.List<java.lang.String> xEnum)
Set the xEnum. Existing xEnum will be replaced.- Parameters:
xEnum- the xEnum- Returns:
- the Property builder
-
type
public Property.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the Property builder
-
path
public Property.Builder path(java.lang.String path)
Set the path.- Parameters:
path- the path- Returns:
- the Property builder
-
-