Class SqlTriggerGetProperties
java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.SqlTriggerGetProperties
The properties of an Azure Cosmos DB trigger.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SqlTriggerGetProperties class. -
Method Summary
Modifier and TypeMethodDescriptionresource()Get the resource property: The resource property.voidvalidate()Validates the instance.withResource(SqlTriggerGetPropertiesResource resource) Set the resource property: The resource property.
-
Constructor Details
-
SqlTriggerGetProperties
public SqlTriggerGetProperties()Creates an instance of SqlTriggerGetProperties class.
-
-
Method Details
-
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 SqlTriggerGetProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-