com.pulumi.meraki.devices.outputs.ApplianceRadioSettingsTwoFourGhzSettings 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 ApplianceRadioSettingsTwoFourGhzSettings {
/**
* @return Manual channel for 2.4 GHz
*
*/
private @Nullable Integer channel;
/**
* @return Manual target power for 2.4 GHz
*
*/
private @Nullable Integer targetPower;
private ApplianceRadioSettingsTwoFourGhzSettings() {}
/**
* @return Manual channel for 2.4 GHz
*
*/
public Optional channel() {
return Optional.ofNullable(this.channel);
}
/**
* @return Manual target power for 2.4 GHz
*
*/
public Optional targetPower() {
return Optional.ofNullable(this.targetPower);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplianceRadioSettingsTwoFourGhzSettings defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer channel;
private @Nullable Integer targetPower;
public Builder() {}
public Builder(ApplianceRadioSettingsTwoFourGhzSettings 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 ApplianceRadioSettingsTwoFourGhzSettings build() {
final var _resultValue = new ApplianceRadioSettingsTwoFourGhzSettings();
_resultValue.channel = channel;
_resultValue.targetPower = targetPower;
return _resultValue;
}
}
}