Class SqlTriggerCreateUpdateParameters

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

public class SqlTriggerCreateUpdateParameters extends ARMResourceProperties
Parameters to create and update Cosmos DB trigger.
  • Constructor Details

    • SqlTriggerCreateUpdateParameters

      public SqlTriggerCreateUpdateParameters()
  • Method Details

    • resource

      public SqlTriggerResource resource()
      Get the standard JSON format of a trigger.
      Returns:
      the resource value
    • withResource

      public SqlTriggerCreateUpdateParameters withResource(SqlTriggerResource resource)
      Set the standard JSON format of a trigger.
      Parameters:
      resource - the resource value to set
      Returns:
      the SqlTriggerCreateUpdateParameters 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 SqlTriggerCreateUpdateParameters 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 SqlTriggerCreateUpdateParameters object itself.