Class MongoDBCollectionCreateUpdateParameters

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

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

    • MongoDBCollectionCreateUpdateParameters

      public MongoDBCollectionCreateUpdateParameters()
  • Method Details

    • resource

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

      Set the standard JSON format of a MongoDB collection.
      Parameters:
      resource - the resource value to set
      Returns:
      the MongoDBCollectionCreateUpdateParameters 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

      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 MongoDBCollectionCreateUpdateParameters object itself.