com.pulumi.azure.core.inputs.ResourceGroupCostManagementViewKpiArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.core.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class ResourceGroupCostManagementViewKpiArgs extends com.pulumi.resources.ResourceArgs {
public static final ResourceGroupCostManagementViewKpiArgs Empty = new ResourceGroupCostManagementViewKpiArgs();
/**
* KPI type. Possible values are `Budget` and `Forecast`.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return KPI type. Possible values are `Budget` and `Forecast`.
*
*/
public Output type() {
return this.type;
}
private ResourceGroupCostManagementViewKpiArgs() {}
private ResourceGroupCostManagementViewKpiArgs(ResourceGroupCostManagementViewKpiArgs $) {
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceGroupCostManagementViewKpiArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ResourceGroupCostManagementViewKpiArgs $;
public Builder() {
$ = new ResourceGroupCostManagementViewKpiArgs();
}
public Builder(ResourceGroupCostManagementViewKpiArgs defaults) {
$ = new ResourceGroupCostManagementViewKpiArgs(Objects.requireNonNull(defaults));
}
/**
* @param type KPI type. Possible values are `Budget` and `Forecast`.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type KPI type. Possible values are `Budget` and `Forecast`.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public ResourceGroupCostManagementViewKpiArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("ResourceGroupCostManagementViewKpiArgs", "type");
}
return $;
}
}
}