Compartilhar via


TriggerResourceInner Class

public final class TriggerResourceInner
extends ProxyResource

Trigger resource type.

Constructor Summary

Constructor Description
TriggerResourceInner()

Creates an instance of TriggerResourceInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention.

static TriggerResourceInner fromJson(JsonReader jsonReader)

Reads an instance of TriggerResourceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

Trigger properties()

Get the properties property: Properties of the trigger.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

TriggerResourceInner withProperties(Trigger properties)

Set the properties property: Properties of the trigger.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

TriggerResourceInner

public TriggerResourceInner()

Creates an instance of TriggerResourceInner class.

Method Details

etag

public String etag()

Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").

Returns:

the etag value.

fromJson

public static TriggerResourceInner fromJson(JsonReader jsonReader)

Reads an instance of TriggerResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TriggerResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

TriggerResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

TriggerResourceInner.name()

Returns:

the name value.

properties

public Trigger properties()

Get the properties property: Properties of the trigger.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TriggerResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

TriggerResourceInner.type()

Returns:

the type value.

withProperties

public TriggerResourceInner withProperties(Trigger properties)

Set the properties property: Properties of the trigger.

Parameters:

properties - the properties value to set.

Returns:

the TriggerResourceInner object itself.

Applies to