CosmosUserDefinedFunctionProperties Class
- java.
lang. Object - com.
azure. cosmos. models. CosmosUserDefinedFunctionProperties
- com.
public final class CosmosUserDefinedFunctionProperties
The type Cosmos user defined function properties.
Constructor Summary
Constructor | Description |
---|---|
CosmosUserDefinedFunctionProperties(String id, String body) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Get the body of the user defined function. |
String |
getETag()
Get the entity tag associated with the resource. |
String |
getId()
Gets the name of the resource. |
Instant |
getTimestamp()
Get the last modified timestamp associated with the resource. |
Cosmos |
setBody(String body)
Set the body of the user defined function. |
Cosmos |
setId(String id)
Sets the id |
Methods inherited from java.lang.Object
Constructor Details
CosmosUserDefinedFunctionProperties
public CosmosUserDefinedFunctionProperties(String id, String body)
Constructor.
Parameters:
Method Details
getBody
public String getBody()
Get the body of the user defined function.
Returns:
getETag
public String getETag()
Get the entity tag associated with the resource. This is only relevant when getting response from the server.
Returns:
getId
public String getId()
Gets the name of the resource.
Returns:
getTimestamp
public Instant getTimestamp()
Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server.
Returns:
setBody
public CosmosUserDefinedFunctionProperties setBody(String body)
Set the body of the user defined function.
Parameters:
Returns:
setId
public CosmosUserDefinedFunctionProperties setId(String id)
Sets the id
Parameters:
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour