com.azure.resourcemanager.elastic.implementation.MonitoredResourceImpl Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.elastic.implementation;
import com.azure.resourcemanager.elastic.fluent.models.MonitoredResourceInner;
import com.azure.resourcemanager.elastic.models.MonitoredResource;
import com.azure.resourcemanager.elastic.models.SendingLogs;
public final class MonitoredResourceImpl implements MonitoredResource {
private MonitoredResourceInner innerObject;
private final com.azure.resourcemanager.elastic.ElasticManager serviceManager;
MonitoredResourceImpl(
MonitoredResourceInner innerObject, com.azure.resourcemanager.elastic.ElasticManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String id() {
return this.innerModel().id();
}
public SendingLogs sendingLogs() {
return this.innerModel().sendingLogs();
}
public String reasonForLogsStatus() {
return this.innerModel().reasonForLogsStatus();
}
public MonitoredResourceInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.elastic.ElasticManager manager() {
return this.serviceManager;
}
}