Class IncludedPath
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.IncludedPath
-
public class IncludedPath extends Object
The paths that are included in indexing.
-
-
Constructor Summary
Constructors Constructor Description IncludedPath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Indexes>indexes()Get list of indexes for this path.Stringpath()Get the path for which the indexing behavior applies to.IncludedPathwithIndexes(List<Indexes> indexes)Set list of indexes for this path.IncludedPathwithPath(String path)Set the path for which the indexing behavior applies to.
-
-
-
Method Detail
-
path
public String path()
Get the path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*).- Returns:
- the path value
-
withPath
public IncludedPath withPath(String path)
Set the path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*).- Parameters:
path- the path value to set- Returns:
- the IncludedPath object itself.
-
indexes
public List<Indexes> indexes()
Get list of indexes for this path.- Returns:
- the indexes value
-
withIndexes
public IncludedPath withIndexes(List<Indexes> indexes)
Set list of indexes for this path.- Parameters:
indexes- the indexes value to set- Returns:
- the IncludedPath object itself.
-
-