TriggerResource Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. Resource - com.
azure. analytics. synapse. artifacts. models. AzureEntityResource - com.
azure. analytics. synapse. artifacts. models. SubResource - com.
azure. analytics. synapse. artifacts. models. TriggerResource
- com.
- com.
- com.
- com.
public final class TriggerResource
extends SubResource
Trigger resource type.
Constructor Summary
| Constructor | Description |
|---|---|
| TriggerResource() |
Creates an instance of Trigger |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Trigger |
fromJson(JsonReader jsonReader)
Reads an instance of Trigger |
| String |
getEtag()
Get the etag property: Resource Etag. |
| String |
getId()
Get the id property: Fully qualified resource ID for the resource. |
| String |
getName()
Get the name property: The name of the resource. |
| Trigger |
getProperties()
Get the properties property: Properties of the trigger. |
| String |
getType()
Get the type property: The type of the resource. |
|
Trigger |
setProperties(Trigger properties)
Set the properties property: Properties of the trigger. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
TriggerResource
public TriggerResource()
Creates an instance of TriggerResource class.
Method Details
fromJson
public static TriggerResource fromJson(JsonReader jsonReader)
Reads an instance of TriggerResource from the JsonReader.
Parameters:
Returns:
Throws:
getEtag
public String getEtag()
Get the etag property: Resource Etag.
Overrides:
TriggerResource.getEtag()Returns:
getId
public String getId()
Get the id property: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Overrides:
TriggerResource.getId()Returns:
getName
public String getName()
Get the name property: The name of the resource.
Overrides:
TriggerResource.getName()Returns:
getProperties
public Trigger getProperties()
Get the properties property: Properties of the trigger.
Returns:
getType
public String getType()
Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
Overrides:
TriggerResource.getType()Returns:
setProperties
public TriggerResource setProperties(Trigger properties)
Set the properties property: Properties of the trigger.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TriggerResource.toJson(JsonWriter jsonWriter)Parameters:
Throws: