Share via


TriggerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.imagebuilder.models.TriggerProperties

Implements

public class TriggerProperties
implements JsonSerializable<TriggerProperties>

Describes the properties of a trigger.

Constructor Summary

Constructor Description
TriggerProperties()

Creates an instance of TriggerProperties class.

Method Summary

Modifier and Type Method and Description
static TriggerProperties fromJson(JsonReader jsonReader)

Reads an instance of TriggerProperties from the JsonReader.

String kind()

Get the kind property: The kind of trigger.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

TriggerStatus status()

Get the status property: Trigger status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

TriggerProperties

public TriggerProperties()

Creates an instance of TriggerProperties class.

Method Details

fromJson

public static TriggerProperties fromJson(JsonReader jsonReader)

Reads an instance of TriggerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the TriggerProperties.

kind

public String kind()

Get the kind property: The kind of trigger.

Returns:

the kind value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

status

public TriggerStatus status()

Get the status property: Trigger status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to