com.pulumi.meraki.networks.outputs.GetSwitchDhcpServerPolicyItemAlerts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki 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.meraki.networks.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.networks.outputs.GetSwitchDhcpServerPolicyItemAlertsEmail;
import java.util.Objects;
@CustomType
public final class GetSwitchDhcpServerPolicyItemAlerts {
/**
* @return Alert settings for DHCP servers
*
*/
private GetSwitchDhcpServerPolicyItemAlertsEmail email;
private GetSwitchDhcpServerPolicyItemAlerts() {}
/**
* @return Alert settings for DHCP servers
*
*/
public GetSwitchDhcpServerPolicyItemAlertsEmail email() {
return this.email;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSwitchDhcpServerPolicyItemAlerts defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private GetSwitchDhcpServerPolicyItemAlertsEmail email;
public Builder() {}
public Builder(GetSwitchDhcpServerPolicyItemAlerts defaults) {
Objects.requireNonNull(defaults);
this.email = defaults.email;
}
@CustomType.Setter
public Builder email(GetSwitchDhcpServerPolicyItemAlertsEmail email) {
if (email == null) {
throw new MissingRequiredPropertyException("GetSwitchDhcpServerPolicyItemAlerts", "email");
}
this.email = email;
return this;
}
public GetSwitchDhcpServerPolicyItemAlerts build() {
final var _resultValue = new GetSwitchDhcpServerPolicyItemAlerts();
_resultValue.email = email;
return _resultValue;
}
}
}