CompositePath Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. CompositePath
- com.
Implements
public final class CompositePath
implements JsonSerializable<CompositePath>
The CompositePath model.
Constructor Summary
Constructor | Description |
---|---|
CompositePath() |
Creates an instance of Composite |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Composite |
fromJson(JsonReader jsonReader)
Reads an instance of Composite |
Composite |
order()
Get the order property: Sort order for composite paths. |
String |
path()
Get the path property: The path for which the indexing behavior applies to. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Composite |
withOrder(CompositePathSortOrder order)
Set the order property: Sort order for composite paths. |
Composite |
withPath(String path)
Set the path property: The path for which the indexing behavior applies to. |
Methods inherited from java.lang.Object
Constructor Details
CompositePath
public CompositePath()
Creates an instance of CompositePath class.
Method Details
fromJson
public static CompositePath fromJson(JsonReader jsonReader)
Reads an instance of CompositePath from the JsonReader.
Parameters:
Returns:
Throws:
order
public CompositePathSortOrder order()
Get the order property: Sort order for composite paths.
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.
withOrder
public CompositePath withOrder(CompositePathSortOrder order)
Set the order property: Sort order for composite paths.
Parameters:
Returns:
withPath
public CompositePath 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