com.pulumi.meraki.devices.outputs.WirelessRadioSettingsTwoFourGhzSettings 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 java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class WirelessRadioSettingsTwoFourGhzSettings {
/**
* @return Sets a manual channel for 2.4 GHz. Can be '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13' or '14' or null for using auto channel.
*
*/
private @Nullable Integer channel;
/**
* @return Set a manual target power for 2.4 GHz. Can be between '5' or '30' or null for using auto power range.
*
*/
private @Nullable Integer targetPower;
private WirelessRadioSettingsTwoFourGhzSettings() {}
/**
* @return Sets a manual channel for 2.4 GHz. Can be '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13' or '14' or null for using auto channel.
*
*/
public Optional channel() {
return Optional.ofNullable(this.channel);
}
/**
* @return Set a manual target power for 2.4 GHz. Can be between '5' or '30' or null for using auto power range.
*
*/
public Optional targetPower() {
return Optional.ofNullable(this.targetPower);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WirelessRadioSettingsTwoFourGhzSettings defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer channel;
private @Nullable Integer targetPower;
public Builder() {}
public Builder(WirelessRadioSettingsTwoFourGhzSettings defaults) {
Objects.requireNonNull(defaults);
this.channel = defaults.channel;
this.targetPower = defaults.targetPower;
}
@CustomType.Setter
public Builder channel(@Nullable Integer channel) {
this.channel = channel;
return this;
}
@CustomType.Setter
public Builder targetPower(@Nullable Integer targetPower) {
this.targetPower = targetPower;
return this;
}
public WirelessRadioSettingsTwoFourGhzSettings build() {
final var _resultValue = new WirelessRadioSettingsTwoFourGhzSettings();
_resultValue.channel = channel;
_resultValue.targetPower = targetPower;
return _resultValue;
}
}
}