public class SqlUserDefinedFunctionResource extends Object
| Constructor and Description |
|---|
SqlUserDefinedFunctionResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
body()
Get the body property: Body of the User Defined Function.
|
String |
id()
Get the id property: Name of the Cosmos DB SQL userDefinedFunction.
|
void |
validate()
Validates the instance.
|
SqlUserDefinedFunctionResource |
withBody(String body)
Set the body property: Body of the User Defined Function.
|
SqlUserDefinedFunctionResource |
withId(String id)
Set the id property: Name of the Cosmos DB SQL userDefinedFunction.
|
public String id()
public SqlUserDefinedFunctionResource withId(String id)
id - the id value to set.public String body()
public SqlUserDefinedFunctionResource withBody(String body)
body - the body value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.