SqlTriggerCreateUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. SqlTriggerCreateUpdateProperties
- com.
Implements
public final class SqlTriggerCreateUpdateProperties
implements JsonSerializable<SqlTriggerCreateUpdateProperties>
Properties to create and update Azure Cosmos DB trigger.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlTriggerCreateUpdateProperties() |
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 trigger. |
|
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(SqlTriggerResource resource)
Set the resource property: The standard JSON format of a trigger. |
Methods inherited from java.lang.Object
Constructor Details
SqlTriggerCreateUpdateProperties
public SqlTriggerCreateUpdateProperties()
Creates an instance of SqlTriggerCreateUpdateProperties class.
Method Details
fromJson
public static SqlTriggerCreateUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of SqlTriggerCreateUpdateProperties 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 SqlTriggerResource resource()
Get the resource property: The standard JSON format of a trigger.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOptions
public SqlTriggerCreateUpdateProperties 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 SqlTriggerCreateUpdateProperties withResource(SqlTriggerResource resource)
Set the resource property: The standard JSON format of a trigger.
Parameters:
Returns: