Package com.azure.data.cosmos
Class CosmosUserDefinedFunctionProperties
- java.lang.Object
-
- com.azure.data.cosmos.JsonSerializable
-
- com.azure.data.cosmos.Resource
-
- com.azure.data.cosmos.CosmosUserDefinedFunctionProperties
-
public class CosmosUserDefinedFunctionProperties extends Resource
-
-
Constructor Summary
Constructors Constructor Description CosmosUserDefinedFunctionProperties()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
body()
Get the body of the user defined function.CosmosUserDefinedFunctionProperties
body(String body)
Set the body of the user defined function.CosmosUserDefinedFunctionProperties
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 CosmosUserDefinedFunctionProperties id(String id)
Sets the id
-
body
public String body()
Get the body of the user defined function.- Returns:
- the body.
-
body
public CosmosUserDefinedFunctionProperties body(String body)
Set the body of the user defined function.- Parameters:
body
- the body.- Returns:
- the CosmosUserDefinedFunctionProperties.
-
-