public final class CosmosUserDefinedFunctionProperties extends Object
Constructor and Description |
---|
CosmosUserDefinedFunctionProperties(String id,
String body)
Constructor.
|
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.
|
CosmosUserDefinedFunctionProperties |
setBody(String body)
Set the body of the user defined function.
|
CosmosUserDefinedFunctionProperties |
setId(String id)
Sets the id
|
public String getBody()
public CosmosUserDefinedFunctionProperties setBody(String body)
body
- the body.public String getId()
public CosmosUserDefinedFunctionProperties setId(String id)
id
- the name of the resource.public Instant getTimestamp()
public String getETag()
Copyright © 2021 Microsoft Corporation. All rights reserved.