Class IncludedPath
java.lang.Object
com.azure.resourcemanager.cosmos.models.IncludedPath
The paths that are included in indexing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionindexes()Get the indexes property: List of indexes for this path.path()Get the path property: The path for which the indexing behavior applies to.voidvalidate()Validates the instance.withIndexes(List<Indexes> indexes) Set the indexes property: List of indexes for this path.Set the path property: The path for which the indexing behavior applies to.
-
Constructor Details
-
IncludedPath
public IncludedPath()Creates an instance of IncludedPath class.
-
-
Method Details
-
path
Get the path property: 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
Set the path property: 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
Get the indexes property: List of indexes for this path.- Returns:
- the indexes value.
-
withIndexes
Set the indexes property: List of indexes for this path.- Parameters:
indexes- the indexes value to set.- Returns:
- the IncludedPath object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-