MongoDBCollectionGetPropertiesOptions Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. OptionsResource - com.
azure. resourcemanager. cosmos. models. MongoDBCollectionGetPropertiesOptions
- com.
- com.
public final class MongoDBCollectionGetPropertiesOptions
extends OptionsResource
The MongoDBCollectionGetPropertiesOptions model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Autoscale |
autoscaleSettings()
Get the autoscale |
|
static
Mongo |
fromJson(JsonReader jsonReader)
Reads an instance of Mongo |
| Integer |
throughput()
Get the throughput property: Value of the Cosmos DB resource throughput or autoscale |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from OptionsResource
Methods inherited from java.lang.Object
Method Details
autoscaleSettings
public AutoscaleSettings autoscaleSettings()
Get the autoscaleSettings property: Specifies the Autoscale settings.
Overrides:
MongoDBCollectionGetPropertiesOptions.autoscaleSettings()Returns:
fromJson
public static MongoDBCollectionGetPropertiesOptions fromJson(JsonReader jsonReader)
Reads an instance of MongoDBCollectionGetPropertiesOptions from the JsonReader.
Parameters:
Returns:
Throws:
throughput
public Integer throughput()
Get the throughput property: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
Overrides:
MongoDBCollectionGetPropertiesOptions.throughput()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MongoDBCollectionGetPropertiesOptions.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MongoDBCollectionGetPropertiesOptions.validate()