
com.pulumi.azurenative.insights.outputs.GetComponentCurrentBillingFeatureResult Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.insights.outputs;
import com.pulumi.azurenative.insights.outputs.ApplicationInsightsComponentDataVolumeCapResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetComponentCurrentBillingFeatureResult {
/**
* @return Current enabled pricing plan. When the component is in the Enterprise plan, this will list both 'Basic' and 'Application Insights Enterprise'.
*
*/
private @Nullable List currentBillingFeatures;
/**
* @return An Application Insights component daily data volume cap
*
*/
private @Nullable ApplicationInsightsComponentDataVolumeCapResponse dataVolumeCap;
private GetComponentCurrentBillingFeatureResult() {}
/**
* @return Current enabled pricing plan. When the component is in the Enterprise plan, this will list both 'Basic' and 'Application Insights Enterprise'.
*
*/
public List currentBillingFeatures() {
return this.currentBillingFeatures == null ? List.of() : this.currentBillingFeatures;
}
/**
* @return An Application Insights component daily data volume cap
*
*/
public Optional dataVolumeCap() {
return Optional.ofNullable(this.dataVolumeCap);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetComponentCurrentBillingFeatureResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List currentBillingFeatures;
private @Nullable ApplicationInsightsComponentDataVolumeCapResponse dataVolumeCap;
public Builder() {}
public Builder(GetComponentCurrentBillingFeatureResult defaults) {
Objects.requireNonNull(defaults);
this.currentBillingFeatures = defaults.currentBillingFeatures;
this.dataVolumeCap = defaults.dataVolumeCap;
}
@CustomType.Setter
public Builder currentBillingFeatures(@Nullable List currentBillingFeatures) {
this.currentBillingFeatures = currentBillingFeatures;
return this;
}
public Builder currentBillingFeatures(String... currentBillingFeatures) {
return currentBillingFeatures(List.of(currentBillingFeatures));
}
@CustomType.Setter
public Builder dataVolumeCap(@Nullable ApplicationInsightsComponentDataVolumeCapResponse dataVolumeCap) {
this.dataVolumeCap = dataVolumeCap;
return this;
}
public GetComponentCurrentBillingFeatureResult build() {
final var _resultValue = new GetComponentCurrentBillingFeatureResult();
_resultValue.currentBillingFeatures = currentBillingFeatures;
_resultValue.dataVolumeCap = dataVolumeCap;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy