Class SqlUserDefinedFunctionCreateUpdateParameters
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.Resource
com.microsoft.azure.management.cosmosdb.ARMResourceProperties
com.microsoft.azure.management.cosmosdb.SqlUserDefinedFunctionCreateUpdateParameters
Parameters to create and update Cosmos DB userDefinedFunction.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionoptions()
Get a key-value pair of options to be applied for the request.resource()
Get the standard JSON format of a userDefinedFunction.withOptions
(Map<String, String> options) Set a key-value pair of options to be applied for the request.withResource
(SqlUserDefinedFunctionResource resource) Set the standard JSON format of a userDefinedFunction.Methods inherited from class com.microsoft.azure.Resource
getTags, location, withLocation, withTags
Methods inherited from class com.microsoft.azure.ProxyResource
id, name, type
-
Constructor Details
-
SqlUserDefinedFunctionCreateUpdateParameters
public SqlUserDefinedFunctionCreateUpdateParameters()
-
-
Method Details
-
resource
Get the standard JSON format of a userDefinedFunction.- Returns:
- the resource value
-
withResource
public SqlUserDefinedFunctionCreateUpdateParameters withResource(SqlUserDefinedFunctionResource resource) Set the standard JSON format of a userDefinedFunction.- Parameters:
resource
- the resource value to set- Returns:
- the SqlUserDefinedFunctionCreateUpdateParameters object itself.
-
options
Get a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.- Returns:
- the options value
-
withOptions
Set a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.- Parameters:
options
- the options value to set- Returns:
- the SqlUserDefinedFunctionCreateUpdateParameters object itself.
-