Class SqlUserDefinedFunctionResource

java.lang.Object
com.microsoft.azure.management.cosmosdb.SqlUserDefinedFunctionResource

public class SqlUserDefinedFunctionResource extends Object
Cosmos DB SQL userDefinedFunction resource object.
  • Constructor Details

    • SqlUserDefinedFunctionResource

      public SqlUserDefinedFunctionResource()
  • Method Details

    • id

      public String id()
      Get name of the Cosmos DB SQL userDefinedFunction.
      Returns:
      the id value
    • withId

      Set name of the Cosmos DB SQL userDefinedFunction.
      Parameters:
      id - the id value to set
      Returns:
      the SqlUserDefinedFunctionResource object itself.
    • body

      public String body()
      Get body of the User Defined Function.
      Returns:
      the body value
    • withBody

      public SqlUserDefinedFunctionResource withBody(String body)
      Set body of the User Defined Function.
      Parameters:
      body - the body value to set
      Returns:
      the SqlUserDefinedFunctionResource object itself.