MongoDBDatabaseGetProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. MongoDBDatabaseGetProperties
- com.
Implements
public final class MongoDBDatabaseGetProperties
implements JsonSerializable<MongoDBDatabaseGetProperties>
The properties of an Azure Cosmos DB MongoDB database.
Constructor Summary
| Constructor | Description |
|---|---|
| MongoDBDatabaseGetProperties() |
Creates an instance of Mongo |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Mongo |
fromJson(JsonReader jsonReader)
Reads an instance of Mongo |
|
Mongo |
options()
Get the options property: The options property. |
|
Mongo |
resource()
Get the resource property: The resource property. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Mongo |
withOptions(MongoDBDatabaseGetPropertiesOptions options)
Set the options property: The options property. |
|
Mongo |
withResource(MongoDBDatabaseGetPropertiesResource resource)
Set the resource property: The resource property. |
Methods inherited from java.lang.Object
Constructor Details
MongoDBDatabaseGetProperties
public MongoDBDatabaseGetProperties()
Creates an instance of MongoDBDatabaseGetProperties class.
Method Details
fromJson
public static MongoDBDatabaseGetProperties fromJson(JsonReader jsonReader)
Reads an instance of MongoDBDatabaseGetProperties from the JsonReader.
Parameters:
Returns:
Throws:
options
public MongoDBDatabaseGetPropertiesOptions options()
Get the options property: The options property.
Returns:
resource
public MongoDBDatabaseGetPropertiesResource resource()
Get the resource property: The resource property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOptions
public MongoDBDatabaseGetProperties withOptions(MongoDBDatabaseGetPropertiesOptions options)
Set the options property: The options property.
Parameters:
Returns:
withResource
public MongoDBDatabaseGetProperties withResource(MongoDBDatabaseGetPropertiesResource resource)
Set the resource property: The resource property.
Parameters:
Returns: