MonitoredSubscriptionPropertiesInner Class

  • java.lang.Object
    • com.azure.resourcemanager.datadog.fluent.models.MonitoredSubscriptionPropertiesInner

Implements

public final class MonitoredSubscriptionPropertiesInner
implements JsonSerializable<MonitoredSubscriptionPropertiesInner>

The request to update subscriptions needed to be monitored by the Datadog monitor resource.

Constructor Summary

Constructor Description
MonitoredSubscriptionPropertiesInner()

Creates an instance of MonitoredSubscriptionPropertiesInner class.

Method Summary

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

Reads an instance of MonitoredSubscriptionPropertiesInner from the JsonReader.

String id()

Get the id property: The id of the monitored subscription resource.

String name()

Get the name property: Name of the monitored subscription resource.

SubscriptionList properties()

Get the properties property: The request to update subscriptions needed to be monitored by the Datadog monitor resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the monitored subscription resource.

void validate()

Validates the instance.

MonitoredSubscriptionPropertiesInner withProperties(SubscriptionList properties)

Set the properties property: The request to update subscriptions needed to be monitored by the Datadog monitor resource.

Methods inherited from java.lang.Object

Constructor Details

MonitoredSubscriptionPropertiesInner

public MonitoredSubscriptionPropertiesInner()

Creates an instance of MonitoredSubscriptionPropertiesInner class.

Method Details

fromJson

public static MonitoredSubscriptionPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of MonitoredSubscriptionPropertiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The id of the monitored subscription resource.

Returns:

the id value.

name

public String name()

Get the name property: Name of the monitored subscription resource.

Returns:

the name value.

properties

public SubscriptionList properties()

Get the properties property: The request to update subscriptions needed to be monitored by the Datadog monitor resource.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the monitored subscription resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public MonitoredSubscriptionPropertiesInner withProperties(SubscriptionList properties)

Set the properties property: The request to update subscriptions needed to be monitored by the Datadog monitor resource.

Parameters:

properties - the properties value to set.

Returns:

the MonitoredSubscriptionPropertiesInner object itself.

Applies to