com.pulumi.azurenative.alertsmanagement.inputs.GetAlertProcessingRuleByNamePlainArgs 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.
// *** 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetAlertProcessingRuleByNamePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetAlertProcessingRuleByNamePlainArgs Empty = new GetAlertProcessingRuleByNamePlainArgs();
/**
* The name of the alert processing rule that needs to be fetched.
*
*/
@Import(name="alertProcessingRuleName", required=true)
private String alertProcessingRuleName;
/**
* @return The name of the alert processing rule that needs to be fetched.
*
*/
public String alertProcessingRuleName() {
return this.alertProcessingRuleName;
}
/**
* Resource group name where the resource is created.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return Resource group name where the resource is created.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private GetAlertProcessingRuleByNamePlainArgs() {}
private GetAlertProcessingRuleByNamePlainArgs(GetAlertProcessingRuleByNamePlainArgs $) {
this.alertProcessingRuleName = $.alertProcessingRuleName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAlertProcessingRuleByNamePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetAlertProcessingRuleByNamePlainArgs $;
public Builder() {
$ = new GetAlertProcessingRuleByNamePlainArgs();
}
public Builder(GetAlertProcessingRuleByNamePlainArgs defaults) {
$ = new GetAlertProcessingRuleByNamePlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param alertProcessingRuleName The name of the alert processing rule that needs to be fetched.
*
* @return builder
*
*/
public Builder alertProcessingRuleName(String alertProcessingRuleName) {
$.alertProcessingRuleName = alertProcessingRuleName;
return this;
}
/**
* @param resourceGroupName Resource group name where the resource is created.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetAlertProcessingRuleByNamePlainArgs build() {
if ($.alertProcessingRuleName == null) {
throw new MissingRequiredPropertyException("GetAlertProcessingRuleByNamePlainArgs", "alertProcessingRuleName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetAlertProcessingRuleByNamePlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy