com.pulumi.meraki.devices.outputs.GetSwitchRoutingInterfacesDhcpItemDhcpOption 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.devices.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetSwitchRoutingInterfacesDhcpItemDhcpOption {
/**
* @return The code for DHCP option which should be from 2 to 254
*
*/
private String code;
/**
* @return The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex')
*
*/
private String type;
/**
* @return The value of the DHCP option
*
*/
private String value;
private GetSwitchRoutingInterfacesDhcpItemDhcpOption() {}
/**
* @return The code for DHCP option which should be from 2 to 254
*
*/
public String code() {
return this.code;
}
/**
* @return The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex')
*
*/
public String type() {
return this.type;
}
/**
* @return The value of the DHCP option
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSwitchRoutingInterfacesDhcpItemDhcpOption defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String code;
private String type;
private String value;
public Builder() {}
public Builder(GetSwitchRoutingInterfacesDhcpItemDhcpOption defaults) {
Objects.requireNonNull(defaults);
this.code = defaults.code;
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder code(String code) {
if (code == null) {
throw new MissingRequiredPropertyException("GetSwitchRoutingInterfacesDhcpItemDhcpOption", "code");
}
this.code = code;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetSwitchRoutingInterfacesDhcpItemDhcpOption", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("GetSwitchRoutingInterfacesDhcpItemDhcpOption", "value");
}
this.value = value;
return this;
}
public GetSwitchRoutingInterfacesDhcpItemDhcpOption build() {
final var _resultValue = new GetSwitchRoutingInterfacesDhcpItemDhcpOption();
_resultValue.code = code;
_resultValue.type = type;
_resultValue.value = value;
return _resultValue;
}
}
}