com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponentFeature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-applicationinsights Show documentation
Show all versions of azure-resourcemanager-applicationinsights Show documentation
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.models;
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** An Application Insights component daily data volume cap status. */
@Immutable
public final class ApplicationInsightsComponentFeature {
/*
* The pricing feature name.
*/
@JsonProperty(value = "FeatureName", access = JsonProperty.Access.WRITE_ONLY)
private String featureName;
/*
* The meter id used for the feature.
*/
@JsonProperty(value = "MeterId", access = JsonProperty.Access.WRITE_ONLY)
private String meterId;
/*
* The meter rate for the feature's meter.
*/
@JsonProperty(value = "MeterRateFrequency", access = JsonProperty.Access.WRITE_ONLY)
private String meterRateFrequency;
/*
* Reserved, not used now.
*/
@JsonProperty(value = "ResouceId", access = JsonProperty.Access.WRITE_ONLY)
private String resouceId;
/*
* Reserved, not used now.
*/
@JsonProperty(value = "IsHidden", access = JsonProperty.Access.WRITE_ONLY)
private Boolean isHidden;
/*
* A list of Application Insights component feature capability.
*/
@JsonProperty(value = "Capabilities", access = JsonProperty.Access.WRITE_ONLY)
private List capabilities;
/*
* Display name of the feature.
*/
@JsonProperty(value = "Title", access = JsonProperty.Access.WRITE_ONLY)
private String title;
/*
* Whether can apply addon feature on to it.
*/
@JsonProperty(value = "IsMainFeature", access = JsonProperty.Access.WRITE_ONLY)
private Boolean isMainFeature;
/*
* The add on features on main feature.
*/
@JsonProperty(value = "SupportedAddonFeatures", access = JsonProperty.Access.WRITE_ONLY)
private String supportedAddonFeatures;
/**
* Get the featureName property: The pricing feature name.
*
* @return the featureName value.
*/
public String featureName() {
return this.featureName;
}
/**
* Get the meterId property: The meter id used for the feature.
*
* @return the meterId value.
*/
public String meterId() {
return this.meterId;
}
/**
* Get the meterRateFrequency property: The meter rate for the feature's meter.
*
* @return the meterRateFrequency value.
*/
public String meterRateFrequency() {
return this.meterRateFrequency;
}
/**
* Get the resouceId property: Reserved, not used now.
*
* @return the resouceId value.
*/
public String resouceId() {
return this.resouceId;
}
/**
* Get the isHidden property: Reserved, not used now.
*
* @return the isHidden value.
*/
public Boolean isHidden() {
return this.isHidden;
}
/**
* Get the capabilities property: A list of Application Insights component feature capability.
*
* @return the capabilities value.
*/
public List capabilities() {
return this.capabilities;
}
/**
* Get the title property: Display name of the feature.
*
* @return the title value.
*/
public String title() {
return this.title;
}
/**
* Get the isMainFeature property: Whether can apply addon feature on to it.
*
* @return the isMainFeature value.
*/
public Boolean isMainFeature() {
return this.isMainFeature;
}
/**
* Get the supportedAddonFeatures property: The add on features on main feature.
*
* @return the supportedAddonFeatures value.
*/
public String supportedAddonFeatures() {
return this.supportedAddonFeatures;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (capabilities() != null) {
capabilities().forEach(e -> e.validate());
}
}
}