MongoDBDatabaseGetPropertiesOptions Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. OptionsResource - com.
azure. resourcemanager. cosmos. models. MongoDBDatabaseGetPropertiesOptions
- com.
- com.
public final class MongoDBDatabaseGetPropertiesOptions
extends OptionsResource
The MongoDBDatabaseGetPropertiesOptions 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:
MongoDBDatabaseGetPropertiesOptions.autoscaleSettings()Returns:
fromJson
public static MongoDBDatabaseGetPropertiesOptions fromJson(JsonReader jsonReader)
Reads an instance of MongoDBDatabaseGetPropertiesOptions 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:
MongoDBDatabaseGetPropertiesOptions.throughput()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MongoDBDatabaseGetPropertiesOptions.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MongoDBDatabaseGetPropertiesOptions.validate()