Class SqlTriggerGetResultsInner
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
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
An Azure Cosmos DB trigger.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SqlTriggerGetResultsInner class. -
Method Summary
Modifier and TypeMethodDescriptionresource()Get the resource property: The resource property.voidvalidate()Validates the instance.withLocation(String location) withResource(SqlTriggerGetPropertiesResource resource) Set the resource property: The resource property.Methods inherited from class com.azure.core.management.Resource
fromJson, location, tags, toJsonMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SqlTriggerGetResultsInner
public SqlTriggerGetResultsInner()Creates an instance of SqlTriggerGetResultsInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocationin classArmResourceProperties
-
withTags
- Overrides:
withTagsin classArmResourceProperties
-
resource
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
Set the resource property: The resource property.- Parameters:
resource- the resource value to set.- Returns:
- the SqlTriggerGetResultsInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classArmResourceProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-