SqlTriggerGetResultsInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. cosmos. models. ArmResourceProperties - com.
azure. resourcemanager. cosmos. fluent. models. SqlTriggerGetResultsInner
- com.
- com.
- com.
- com.
public final class SqlTriggerGetResultsInner
extends ArmResourceProperties
An Azure Cosmos DB trigger.
Constructor Summary
Constructor | Description |
---|---|
SqlTriggerGetResultsInner() |
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. |
Sql |
resource()
Get the resource property: The resource property. |
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 |
withResource(SqlTriggerGetPropertiesResource resource)
Set the resource property: The resource property. |
Sql |
withTags(Map<String,String> tags) |
Methods inherited from Resource
Methods inherited from ArmResourceProperties
Methods inherited from java.lang.Object
Constructor Details
SqlTriggerGetResultsInner
public SqlTriggerGetResultsInner()
Creates an instance of SqlTriggerGetResultsInner class.
Method Details
fromJson
public static SqlTriggerGetResultsInner fromJson(JsonReader jsonReader)
Reads an instance of SqlTriggerGetResultsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SqlTriggerGetResultsInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SqlTriggerGetResultsInner.name()Returns:
resource
public SqlTriggerGetPropertiesResource resource()
Get the resource property: The resource property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlTriggerGetResultsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SqlTriggerGetResultsInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SqlTriggerGetResultsInner.validate()withLocation
public SqlTriggerGetResultsInner withLocation(String location)
Overrides:
SqlTriggerGetResultsInner.withLocation(String location)Parameters:
withResource
public SqlTriggerGetResultsInner withResource(SqlTriggerGetPropertiesResource resource)
Set the resource property: The resource property.
Parameters:
Returns:
withTags
public SqlTriggerGetResultsInner withTags(Map
Overrides:
SqlTriggerGetResultsInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java