DatadogMonitorResourceInner Class

public final class DatadogMonitorResourceInner
extends Resource

The DatadogMonitorResource model.

Constructor Summary

Constructor Description
DatadogMonitorResourceInner()

Creates an instance of DatadogMonitorResourceInner class.

Method Summary

Modifier and Type Method and Description
IdentityProperties identity()

Get the identity property: The identity property.

MonitorProperties properties()

Get the properties property: Properties specific to the monitor resource.

ResourceSku sku()

Get the sku property: The sku property.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

void validate()

Validates the instance.

DatadogMonitorResourceInner withIdentity(IdentityProperties identity)

Set the identity property: The identity property.

DatadogMonitorResourceInner withLocation(String location)
DatadogMonitorResourceInner withProperties(MonitorProperties properties)

Set the properties property: Properties specific to the monitor resource.

DatadogMonitorResourceInner withSku(ResourceSku sku)

Set the sku property: The sku property.

DatadogMonitorResourceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

DatadogMonitorResourceInner

public DatadogMonitorResourceInner()

Creates an instance of DatadogMonitorResourceInner class.

Method Details

identity

public IdentityProperties identity()

Get the identity property: The identity property.

Returns:

the identity value.

properties

public MonitorProperties properties()

Get the properties property: Properties specific to the monitor resource.

Returns:

the properties value.

sku

public ResourceSku sku()

Get the sku property: The sku property.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withIdentity

public DatadogMonitorResourceInner withIdentity(IdentityProperties identity)

Set the identity property: The identity property.

Parameters:

identity - the identity value to set.

Returns:

the DatadogMonitorResourceInner object itself.

withLocation

public DatadogMonitorResourceInner withLocation(String location)

Overrides:

DatadogMonitorResourceInner.withLocation(String location)

Parameters:

location

withProperties

public DatadogMonitorResourceInner withProperties(MonitorProperties properties)

Set the properties property: Properties specific to the monitor resource.

Parameters:

properties - the properties value to set.

Returns:

the DatadogMonitorResourceInner object itself.

withSku

public DatadogMonitorResourceInner withSku(ResourceSku sku)

Set the sku property: The sku property.

Parameters:

sku - the sku value to set.

Returns:

the DatadogMonitorResourceInner object itself.

withTags

public DatadogMonitorResourceInner withTags(Map tags)

Overrides:

DatadogMonitorResourceInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to