Class CosmosUserDefinedFunctionProperties


  • public final class CosmosUserDefinedFunctionProperties
    extends Object
    The type Cosmos user defined function properties.
    • Constructor Detail

      • CosmosUserDefinedFunctionProperties

        public CosmosUserDefinedFunctionProperties​(String id,
                                                   String body)
        Constructor.
        Parameters:
        id - the id of the Cosmos user defined function.
        body - the body of the Cosmos user defined function.
    • Method Detail

      • getBody

        public String getBody()
        Get the body of the user defined function.
        Returns:
        the body.
      • getId

        public String getId()
        Gets the name of the resource.
        Returns:
        the name of the resource.
      • getTimestamp

        public Instant getTimestamp()
        Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server.
        Returns:
        the timestamp.
      • getETag

        public String getETag()
        Get the entity tag associated with the resource. This is only relevant when getting response from the server.
        Returns:
        the e tag.