Package com.azure.data.cosmos
Class CosmosStoredProcedureProperties
- java.lang.Object
-
- com.azure.data.cosmos.JsonSerializable
-
- com.azure.data.cosmos.Resource
-
- com.azure.data.cosmos.CosmosStoredProcedureProperties
-
public class CosmosStoredProcedureProperties extends Resource
-
-
Constructor Summary
Constructors Constructor Description CosmosStoredProcedureProperties()
Constructor.CosmosStoredProcedureProperties(String id, String body)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
body()
Get the body of the stored procedure.void
body(String body)
Set the body of the stored procedure.CosmosStoredProcedureProperties
id(String id)
Sets the id-
Methods inherited from class com.azure.data.cosmos.Resource
etag, id, resourceId, resourceId, selfLink, timestamp
-
Methods inherited from class com.azure.data.cosmos.JsonSerializable
get, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toString
-
-
-
-
Method Detail
-
id
public CosmosStoredProcedureProperties id(String id)
Sets the id
-
body
public String body()
Get the body of the stored procedure.- Returns:
- the body of the stored procedure.
-
body
public void body(String body)
Set the body of the stored procedure.- Parameters:
body
- the body of the stored procedure.
-
-