IncludedPath Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. IncludedPath
- com.
Implements
public final class IncludedPath
implements JsonSerializable<IncludedPath>
The paths that are included in indexing.
Constructor Summary
Constructor | Description |
---|---|
IncludedPath() |
Creates an instance of Included |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Included |
fromJson(JsonReader jsonReader)
Reads an instance of Included |
List<Indexes> |
indexes()
Get the indexes property: List of indexes for this path. |
String |
path()
Get the path property: The path for which the indexing behavior applies to. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Included |
withIndexes(List<Indexes> indexes)
Set the indexes property: List of indexes for this path. |
Included |
withPath(String path)
Set the path property: The path for which the indexing behavior applies to. |
Methods inherited from java.lang.Object
Constructor Details
IncludedPath
public IncludedPath()
Creates an instance of IncludedPath class.
Method Details
fromJson
public static IncludedPath fromJson(JsonReader jsonReader)
Reads an instance of IncludedPath from the JsonReader.
Parameters:
Returns:
Throws:
indexes
public List
Get the indexes property: List of indexes for this path.
Returns:
path
public String 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:
toJson
validate
public void validate()
Validates the instance.
withIndexes
public IncludedPath withIndexes(List
Set the indexes property: List of indexes for this path.
Parameters:
Returns:
withPath
public IncludedPath withPath(String path)
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:
Returns:
Applies to
Azure SDK for Java