com.pulumi.azurenative.alertsmanagement.outputs.PrometheusRuleGroupActionResponse 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.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PrometheusRuleGroupActionResponse {
/**
* @return The resource id of the action group to use.
*
*/
private @Nullable String actionGroupId;
/**
* @return The properties of an action group object.
*
*/
private @Nullable Map actionProperties;
private PrometheusRuleGroupActionResponse() {}
/**
* @return The resource id of the action group to use.
*
*/
public Optional actionGroupId() {
return Optional.ofNullable(this.actionGroupId);
}
/**
* @return The properties of an action group object.
*
*/
public Map actionProperties() {
return this.actionProperties == null ? Map.of() : this.actionProperties;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PrometheusRuleGroupActionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String actionGroupId;
private @Nullable Map actionProperties;
public Builder() {}
public Builder(PrometheusRuleGroupActionResponse defaults) {
Objects.requireNonNull(defaults);
this.actionGroupId = defaults.actionGroupId;
this.actionProperties = defaults.actionProperties;
}
@CustomType.Setter
public Builder actionGroupId(@Nullable String actionGroupId) {
this.actionGroupId = actionGroupId;
return this;
}
@CustomType.Setter
public Builder actionProperties(@Nullable Map actionProperties) {
this.actionProperties = actionProperties;
return this;
}
public PrometheusRuleGroupActionResponse build() {
final var _resultValue = new PrometheusRuleGroupActionResponse();
_resultValue.actionGroupId = actionGroupId;
_resultValue.actionProperties = actionProperties;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy