com.pulumi.meraki.networks.outputs.GetSwitchAccessPoliciesItemRadiusCriticalAuth 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 java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class GetSwitchAccessPoliciesItemRadiusCriticalAuth {
/**
* @return VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
*
*/
private Integer dataVlanId;
/**
* @return Enable to suspend port bounce when RADIUS servers are unreachable
*
*/
private Boolean suspendPortBounce;
/**
* @return VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
*
*/
private Integer voiceVlanId;
private GetSwitchAccessPoliciesItemRadiusCriticalAuth() {}
/**
* @return VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
*
*/
public Integer dataVlanId() {
return this.dataVlanId;
}
/**
* @return Enable to suspend port bounce when RADIUS servers are unreachable
*
*/
public Boolean suspendPortBounce() {
return this.suspendPortBounce;
}
/**
* @return VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
*
*/
public Integer voiceVlanId() {
return this.voiceVlanId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSwitchAccessPoliciesItemRadiusCriticalAuth defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer dataVlanId;
private Boolean suspendPortBounce;
private Integer voiceVlanId;
public Builder() {}
public Builder(GetSwitchAccessPoliciesItemRadiusCriticalAuth defaults) {
Objects.requireNonNull(defaults);
this.dataVlanId = defaults.dataVlanId;
this.suspendPortBounce = defaults.suspendPortBounce;
this.voiceVlanId = defaults.voiceVlanId;
}
@CustomType.Setter
public Builder dataVlanId(Integer dataVlanId) {
if (dataVlanId == null) {
throw new MissingRequiredPropertyException("GetSwitchAccessPoliciesItemRadiusCriticalAuth", "dataVlanId");
}
this.dataVlanId = dataVlanId;
return this;
}
@CustomType.Setter
public Builder suspendPortBounce(Boolean suspendPortBounce) {
if (suspendPortBounce == null) {
throw new MissingRequiredPropertyException("GetSwitchAccessPoliciesItemRadiusCriticalAuth", "suspendPortBounce");
}
this.suspendPortBounce = suspendPortBounce;
return this;
}
@CustomType.Setter
public Builder voiceVlanId(Integer voiceVlanId) {
if (voiceVlanId == null) {
throw new MissingRequiredPropertyException("GetSwitchAccessPoliciesItemRadiusCriticalAuth", "voiceVlanId");
}
this.voiceVlanId = voiceVlanId;
return this;
}
public GetSwitchAccessPoliciesItemRadiusCriticalAuth build() {
final var _resultValue = new GetSwitchAccessPoliciesItemRadiusCriticalAuth();
_resultValue.dataVlanId = dataVlanId;
_resultValue.suspendPortBounce = suspendPortBounce;
_resultValue.voiceVlanId = voiceVlanId;
return _resultValue;
}
}
}