com.pulumi.azurenative.alertsmanagement.inputs.GetPrometheusRuleGroupArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
The newest version!
// *** 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.alertsmanagement.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 GetPrometheusRuleGroupArgs extends com.pulumi.resources.InvokeArgs {
public static final GetPrometheusRuleGroupArgs Empty = new GetPrometheusRuleGroupArgs();
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the rule group.
*
*/
@Import(name="ruleGroupName", required=true)
private Output ruleGroupName;
/**
* @return The name of the rule group.
*
*/
public Output ruleGroupName() {
return this.ruleGroupName;
}
private GetPrometheusRuleGroupArgs() {}
private GetPrometheusRuleGroupArgs(GetPrometheusRuleGroupArgs $) {
this.resourceGroupName = $.resourceGroupName;
this.ruleGroupName = $.ruleGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPrometheusRuleGroupArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetPrometheusRuleGroupArgs $;
public Builder() {
$ = new GetPrometheusRuleGroupArgs();
}
public Builder(GetPrometheusRuleGroupArgs defaults) {
$ = new GetPrometheusRuleGroupArgs(Objects.requireNonNull(defaults));
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param ruleGroupName The name of the rule group.
*
* @return builder
*
*/
public Builder ruleGroupName(Output ruleGroupName) {
$.ruleGroupName = ruleGroupName;
return this;
}
/**
* @param ruleGroupName The name of the rule group.
*
* @return builder
*
*/
public Builder ruleGroupName(String ruleGroupName) {
return ruleGroupName(Output.of(ruleGroupName));
}
public GetPrometheusRuleGroupArgs build() {
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetPrometheusRuleGroupArgs", "resourceGroupName");
}
if ($.ruleGroupName == null) {
throw new MissingRequiredPropertyException("GetPrometheusRuleGroupArgs", "ruleGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy