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
-
public final class SqlTriggerGetResultsInner extends ArmResourceProperties
An Azure Cosmos DB trigger.
-
-
Constructor Summary
Constructors Constructor Description SqlTriggerGetResultsInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTriggerGetPropertiesResourceresource()Get the resource property: The resource property.voidvalidate()Validates the instance.SqlTriggerGetResultsInnerwithLocation(String location)SqlTriggerGetResultsInnerwithResource(SqlTriggerGetPropertiesResource resource)Set the resource property: The resource property.SqlTriggerGetResultsInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public SqlTriggerGetResultsInner withLocation(String location)
- Overrides:
withLocationin classArmResourceProperties
-
withTags
public SqlTriggerGetResultsInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classArmResourceProperties
-
resource
public SqlTriggerGetPropertiesResource resource()
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
public SqlTriggerGetResultsInner withResource(SqlTriggerGetPropertiesResource resource)
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.
-
-