public final class LogzMonitorResourceInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
LogzMonitorResourceInner() |
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.
|
com.azure.core.management.SystemData |
systemData()
Get the systemData property: The system metadata relating to this resource.
|
void |
validate()
Validates the instance.
|
LogzMonitorResourceInner |
withIdentity(IdentityProperties identity)
Set the identity property: The identity property.
|
LogzMonitorResourceInner |
withLocation(String location) |
LogzMonitorResourceInner |
withProperties(MonitorProperties properties)
Set the properties property: Properties specific to the monitor resource.
|
LogzMonitorResourceInner |
withTags(Map<String,String> tags) |
public com.azure.core.management.SystemData systemData()
public MonitorProperties properties()
public LogzMonitorResourceInner withProperties(MonitorProperties properties)
properties
- the properties value to set.public IdentityProperties identity()
public LogzMonitorResourceInner withIdentity(IdentityProperties identity)
identity
- the identity value to set.public LogzMonitorResourceInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public LogzMonitorResourceInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.