Package com.azure.cosmos.models
Class SpatialSpec
- java.lang.Object
-
- com.azure.cosmos.models.SpatialSpec
-
public final class SpatialSpec extends Object
The type Spatial spec.
-
-
Constructor Summary
Constructors Constructor Description SpatialSpec()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPath()
Gets path.List<SpatialType>
getSpatialTypes()
Gets the container of spatial types.SpatialSpec
setPath(String path)
Sets path.SpatialSpec
setSpatialTypes(List<SpatialType> spatialTypes)
Sets the container of spatial types.
-
-
-
Method Detail
-
getPath
public String getPath()
Gets path.- Returns:
- the path.
-
setPath
public SpatialSpec setPath(String path)
Sets path.- Parameters:
path
- the path.- Returns:
- the SpatialSpec.
-
getSpatialTypes
public List<SpatialType> getSpatialTypes()
Gets the container of spatial types.- Returns:
- the container of spatial types.
-
setSpatialTypes
public SpatialSpec setSpatialTypes(List<SpatialType> spatialTypes)
Sets the container of spatial types.- Parameters:
spatialTypes
- the container of spatial types.- Returns:
- the SpatialSpec.
-
-