SqlUserDefinedFunctionCreateUpdateParameters Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. cosmos. models. ArmResourceProperties - com.
azure. resourcemanager. cosmos. models. SqlUserDefinedFunctionCreateUpdateParameters
- com.
- com.
- com.
- com.
public final class SqlUserDefinedFunctionCreateUpdateParameters
extends ArmResourceProperties
Parameters to create and update Cosmos DB userDefinedFunction.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlUserDefinedFunctionCreateUpdateParameters() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Create |
options()
Get the options property: A key-value pair of options to be applied for the request. |
|
Sql |
resource()
Get the resource property: The standard JSON format of a user |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Sql |
withLocation(String location) |
|
Sql |
withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. |
|
Sql |
withResource(SqlUserDefinedFunctionResource resource)
Set the resource property: The standard JSON format of a user |
|
Sql |
withTags(Map<String,String> tags) |
Methods inherited from Resource
Methods inherited from ArmResourceProperties
Methods inherited from java.lang.Object
Constructor Details
SqlUserDefinedFunctionCreateUpdateParameters
public SqlUserDefinedFunctionCreateUpdateParameters()
Creates an instance of SqlUserDefinedFunctionCreateUpdateParameters class.
Method Details
fromJson
public static SqlUserDefinedFunctionCreateUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of SqlUserDefinedFunctionCreateUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SqlUserDefinedFunctionCreateUpdateParameters.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SqlUserDefinedFunctionCreateUpdateParameters.name()Returns:
options
public CreateUpdateOptions options()
Get the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Returns:
resource
public SqlUserDefinedFunctionResource resource()
Get the resource property: The standard JSON format of a userDefinedFunction.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlUserDefinedFunctionCreateUpdateParameters.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SqlUserDefinedFunctionCreateUpdateParameters.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SqlUserDefinedFunctionCreateUpdateParameters.validate()withLocation
public SqlUserDefinedFunctionCreateUpdateParameters withLocation(String location)
Overrides:
SqlUserDefinedFunctionCreateUpdateParameters.withLocation(String location)Parameters:
withOptions
public SqlUserDefinedFunctionCreateUpdateParameters withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Parameters:
Returns:
withResource
public SqlUserDefinedFunctionCreateUpdateParameters withResource(SqlUserDefinedFunctionResource resource)
Set the resource property: The standard JSON format of a userDefinedFunction.
Parameters:
Returns:
withTags
public SqlUserDefinedFunctionCreateUpdateParameters withTags(Map<String,String> tags)
Overrides:
SqlUserDefinedFunctionCreateUpdateParameters.withTags(Map<String,String> tags)Parameters: