All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.applicationinsights.implementation.ApplicationInsightsComponentProactiveDetectionConfigurationImpl Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Composite Swagger for Application Insights Management Client. Package tag package-2022-04-01.

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.applicationinsights.implementation;

import com.azure.resourcemanager.applicationinsights.fluent.models.ApplicationInsightsComponentProactiveDetectionConfigurationInner;
import com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponentProactiveDetectionConfiguration;
import com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions;
import java.util.Collections;
import java.util.List;

public final class ApplicationInsightsComponentProactiveDetectionConfigurationImpl
    implements ApplicationInsightsComponentProactiveDetectionConfiguration {
    private ApplicationInsightsComponentProactiveDetectionConfigurationInner innerObject;

    private final com.azure.resourcemanager.applicationinsights.ApplicationInsightsManager serviceManager;

    ApplicationInsightsComponentProactiveDetectionConfigurationImpl(
        ApplicationInsightsComponentProactiveDetectionConfigurationInner innerObject,
        com.azure.resourcemanager.applicationinsights.ApplicationInsightsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public String name() {
        return this.innerModel().name();
    }

    public Boolean enabled() {
        return this.innerModel().enabled();
    }

    public Boolean sendEmailsToSubscriptionOwners() {
        return this.innerModel().sendEmailsToSubscriptionOwners();
    }

    public List customEmails() {
        List inner = this.innerModel().customEmails();
        if (inner != null) {
            return Collections.unmodifiableList(inner);
        } else {
            return Collections.emptyList();
        }
    }

    public String lastUpdatedTime() {
        return this.innerModel().lastUpdatedTime();
    }

    public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions ruleDefinitions() {
        return this.innerModel().ruleDefinitions();
    }

    public ApplicationInsightsComponentProactiveDetectionConfigurationInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.applicationinsights.ApplicationInsightsManager manager() {
        return this.serviceManager;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy