SqlStoredProcedureCreateUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. SqlStoredProcedureCreateUpdateProperties
- com.
Implements
public final class SqlStoredProcedureCreateUpdateProperties
implements JsonSerializable<SqlStoredProcedureCreateUpdateProperties>
Properties to create and update Azure Cosmos DB storedProcedure.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlStoredProcedureCreateUpdateProperties() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
|
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 stored |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sql |
withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. |
|
Sql |
withResource(SqlStoredProcedureResource resource)
Set the resource property: The standard JSON format of a stored |
Methods inherited from java.lang.Object
Constructor Details
SqlStoredProcedureCreateUpdateProperties
public SqlStoredProcedureCreateUpdateProperties()
Creates an instance of SqlStoredProcedureCreateUpdateProperties class.
Method Details
fromJson
public static SqlStoredProcedureCreateUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of SqlStoredProcedureCreateUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
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 SqlStoredProcedureResource resource()
Get the resource property: The standard JSON format of a storedProcedure.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOptions
public SqlStoredProcedureCreateUpdateProperties 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 SqlStoredProcedureCreateUpdateProperties withResource(SqlStoredProcedureResource resource)
Set the resource property: The standard JSON format of a storedProcedure.
Parameters:
Returns: