Class SqlStoredProcedureResource

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

public class SqlStoredProcedureResource extends Object
Cosmos DB SQL storedProcedure resource object.
  • Constructor Details

    • SqlStoredProcedureResource

      public SqlStoredProcedureResource()
  • Method Details

    • id

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

      public SqlStoredProcedureResource withId(String id)
      Set name of the Cosmos DB SQL storedProcedure.
      Parameters:
      id - the id value to set
      Returns:
      the SqlStoredProcedureResource object itself.
    • body

      public String body()
      Get body of the Stored Procedure.
      Returns:
      the body value
    • withBody

      public SqlStoredProcedureResource withBody(String body)
      Set body of the Stored Procedure.
      Parameters:
      body - the body value to set
      Returns:
      the SqlStoredProcedureResource object itself.