Class MongoDBDatabaseCreateUpdateParameters

java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.Resource
com.microsoft.azure.management.cosmosdb.ARMResourceProperties
com.microsoft.azure.management.cosmosdb.MongoDBDatabaseCreateUpdateParameters

public class MongoDBDatabaseCreateUpdateParameters extends ARMResourceProperties
Parameters to create and update Cosmos DB MongoDB database.
  • Constructor Details

    • MongoDBDatabaseCreateUpdateParameters

      public MongoDBDatabaseCreateUpdateParameters()
  • Method Details

    • resource

      public MongoDBDatabaseResource resource()
      Get the standard JSON format of a MongoDB database.
      Returns:
      the resource value
    • withResource

      Set the standard JSON format of a MongoDB database.
      Parameters:
      resource - the resource value to set
      Returns:
      the MongoDBDatabaseCreateUpdateParameters object itself.
    • options

      public Map<String,String> options()
      Get a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
      Returns:
      the options value
    • withOptions

      public MongoDBDatabaseCreateUpdateParameters withOptions(Map<String,String> options)
      Set a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
      Parameters:
      options - the options value to set
      Returns:
      the MongoDBDatabaseCreateUpdateParameters object itself.