Class DatadogMonitorResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.datadog.fluent.models.DatadogMonitorResourceInner
public final class DatadogMonitorResourceInner
extends com.azure.core.management.Resource
The DatadogMonitorResource model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DatadogMonitorResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: The identity property.Get the properties property: Properties specific to the monitor resource.sku()
Get the sku property: The sku property.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.withIdentity
(IdentityProperties identity) Set the identity property: The identity property.withLocation
(String location) withProperties
(MonitorProperties properties) Set the properties property: Properties specific to the monitor resource.withSku
(ResourceSku sku) Set the sku property: The sku property.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DatadogMonitorResourceInner
public DatadogMonitorResourceInner()Creates an instance of DatadogMonitorResourceInner class.
-
-
Method Details
-
sku
Get the sku property: The sku property.- Returns:
- the sku value.
-
withSku
Set the sku property: The sku property.- Parameters:
sku
- the sku value to set.- Returns:
- the DatadogMonitorResourceInner object itself.
-
properties
Get the properties property: Properties specific to the monitor resource.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties specific to the monitor resource.- Parameters:
properties
- the properties value to set.- Returns:
- the DatadogMonitorResourceInner object itself.
-
identity
Get the identity property: The identity property.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity property.- Parameters:
identity
- the identity value to set.- Returns:
- the DatadogMonitorResourceInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-