public final class MonitoredResourceInner extends Object
Constructor and Description |
---|
MonitoredResourceInner() |
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: The ARM id of the resource.
|
String |
reasonForLogsStatus()
Get the reasonForLogsStatus property: Reason for why the resource is sending logs (or why it is not sending).
|
String |
reasonForMetricsStatus()
Get the reasonForMetricsStatus property: Reason for why the resource is sending metrics (or why it is not
sending).
|
Boolean |
sendingLogs()
Get the sendingLogs property: Flag indicating if resource is sending logs to Logz.
|
Boolean |
sendingMetrics()
Get the sendingMetrics property: Flag indicating if resource is sending metrics to Logz.
|
com.azure.core.management.SystemData |
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
|
void |
validate()
Validates the instance.
|
MonitoredResourceInner |
withId(String id)
Set the id property: The ARM id of the resource.
|
MonitoredResourceInner |
withReasonForLogsStatus(String reasonForLogsStatus)
Set the reasonForLogsStatus property: Reason for why the resource is sending logs (or why it is not sending).
|
MonitoredResourceInner |
withReasonForMetricsStatus(String reasonForMetricsStatus)
Set the reasonForMetricsStatus property: Reason for why the resource is sending metrics (or why it is not
sending).
|
MonitoredResourceInner |
withSendingLogs(Boolean sendingLogs)
Set the sendingLogs property: Flag indicating if resource is sending logs to Logz.
|
MonitoredResourceInner |
withSendingMetrics(Boolean sendingMetrics)
Set the sendingMetrics property: Flag indicating if resource is sending metrics to Logz.
|
public String id()
public MonitoredResourceInner withId(String id)
id
- the id value to set.public Boolean sendingMetrics()
public MonitoredResourceInner withSendingMetrics(Boolean sendingMetrics)
sendingMetrics
- the sendingMetrics value to set.public String reasonForMetricsStatus()
public MonitoredResourceInner withReasonForMetricsStatus(String reasonForMetricsStatus)
reasonForMetricsStatus
- the reasonForMetricsStatus value to set.public Boolean sendingLogs()
public MonitoredResourceInner withSendingLogs(Boolean sendingLogs)
sendingLogs
- the sendingLogs value to set.public com.azure.core.management.SystemData systemData()
public String reasonForLogsStatus()
public MonitoredResourceInner withReasonForLogsStatus(String reasonForLogsStatus)
reasonForLogsStatus
- the reasonForLogsStatus value to set.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.