EventGridAndResourceGraph Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.EventGridAndResourceGraph

Implements

public final class EventGridAndResourceGraph
implements JsonSerializable<EventGridAndResourceGraph>

Specifies eventGridAndResourceGraph related Scheduled Event related configurations.

Constructor Summary

Constructor Description
EventGridAndResourceGraph()

Creates an instance of EventGridAndResourceGraph class.

Method Summary

Modifier and Type Method and Description
Boolean enable()

Get the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations.

static EventGridAndResourceGraph fromJson(JsonReader jsonReader)

Reads an instance of EventGridAndResourceGraph from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EventGridAndResourceGraph withEnable(Boolean enable)

Set the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations.

Methods inherited from java.lang.Object

Constructor Details

EventGridAndResourceGraph

public EventGridAndResourceGraph()

Creates an instance of EventGridAndResourceGraph class.

Method Details

enable

public Boolean enable()

Get the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations.

Returns:

the enable value.

fromJson

public static EventGridAndResourceGraph fromJson(JsonReader jsonReader)

Reads an instance of EventGridAndResourceGraph from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EventGridAndResourceGraph 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 EventGridAndResourceGraph.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnable

public EventGridAndResourceGraph withEnable(Boolean enable)

Set the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations.

Parameters:

enable - the enable value to set.

Returns:

the EventGridAndResourceGraph object itself.

Applies to