Class XPathPatterns.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.XPathPatterns.Builder
- Enclosing class:
- XPathPatterns
public static class XPathPatterns.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description XPathPatterns.Builder
addXpaths(String xpaths)
Adds an xpaths to xpaths.XPathPatterns
build()
Builds a XPathPatterns.XPathPatterns.Builder
xpaths(List<String> xpaths)
Set the xpaths.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a XPathPatterns.- Returns:
- the new XPathPatterns instance
-
addXpaths
Adds an xpaths to xpaths.- Parameters:
xpaths
- the new xpaths- Returns:
- the XPathPatterns builder
-
xpaths
Set the xpaths. Existing xpaths will be replaced.- Parameters:
xpaths
- the xpaths- Returns:
- the XPathPatterns builder
-