Package com.azure.cosmos.models
Class CosmosUserDefinedFunctionProperties
java.lang.Object
com.azure.cosmos.models.CosmosUserDefinedFunctionProperties
The type Cosmos user defined function properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()
Get the body of the user defined function.getETag()
Get the entity tag associated with the resource.getId()
Gets the name of the resource.Get the last modified timestamp associated with the resource.Set the body of the user defined function.Sets the id
-
Constructor Details
-
CosmosUserDefinedFunctionProperties
Constructor.- Parameters:
id
- the id of the Cosmos user defined function.body
- the body of the Cosmos user defined function.
-
-
Method Details
-
getBody
Get the body of the user defined function.- Returns:
- the body.
-
setBody
Set the body of the user defined function.- Parameters:
body
- the body.- Returns:
- the CosmosUserDefinedFunctionProperties.
-
getId
Gets the name of the resource.- Returns:
- the name of the resource.
-
setId
Sets the id- Parameters:
id
- the name of the resource.- Returns:
- the current cosmos trigger properties instance
-
getTimestamp
Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server.- Returns:
- the timestamp.
-
getETag
Get the entity tag associated with the resource. This is only relevant when getting response from the server.- Returns:
- the e tag.
-