
com.pulumi.junipermist.device.outputs.GatewayDhcpdConfig Maven / Gradle / Ivy
// *** 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.junipermist.device.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.junipermist.device.outputs.GatewayDhcpdConfigConfig;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GatewayDhcpdConfig {
/**
* @return Property key is the network name
*
*/
private @Nullable Map config;
/**
* @return if set to `true`, enable the DHCP server
*
*/
private @Nullable Boolean enabled;
private GatewayDhcpdConfig() {}
/**
* @return Property key is the network name
*
*/
public Map config() {
return this.config == null ? Map.of() : this.config;
}
/**
* @return if set to `true`, enable the DHCP server
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GatewayDhcpdConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map config;
private @Nullable Boolean enabled;
public Builder() {}
public Builder(GatewayDhcpdConfig defaults) {
Objects.requireNonNull(defaults);
this.config = defaults.config;
this.enabled = defaults.enabled;
}
@CustomType.Setter
public Builder config(@Nullable Map config) {
this.config = config;
return this;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
public GatewayDhcpdConfig build() {
final var _resultValue = new GatewayDhcpdConfig();
_resultValue.config = config;
_resultValue.enabled = enabled;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy