com.pulumi.meraki.networks.outputs.SensorAlertsProfilesConditionThresholdTvoc 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 java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SensorAlertsProfilesConditionThresholdTvoc {
/**
* @return Alerting threshold as TVOC micrograms per cubic meter.
*
*/
private @Nullable Integer concentration;
/**
* @return Alerting threshold as a qualitative TVOC level.
*
*/
private @Nullable String quality;
private SensorAlertsProfilesConditionThresholdTvoc() {}
/**
* @return Alerting threshold as TVOC micrograms per cubic meter.
*
*/
public Optional concentration() {
return Optional.ofNullable(this.concentration);
}
/**
* @return Alerting threshold as a qualitative TVOC level.
*
*/
public Optional quality() {
return Optional.ofNullable(this.quality);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SensorAlertsProfilesConditionThresholdTvoc defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer concentration;
private @Nullable String quality;
public Builder() {}
public Builder(SensorAlertsProfilesConditionThresholdTvoc defaults) {
Objects.requireNonNull(defaults);
this.concentration = defaults.concentration;
this.quality = defaults.quality;
}
@CustomType.Setter
public Builder concentration(@Nullable Integer concentration) {
this.concentration = concentration;
return this;
}
@CustomType.Setter
public Builder quality(@Nullable String quality) {
this.quality = quality;
return this;
}
public SensorAlertsProfilesConditionThresholdTvoc build() {
final var _resultValue = new SensorAlertsProfilesConditionThresholdTvoc();
_resultValue.concentration = concentration;
_resultValue.quality = quality;
return _resultValue;
}
}
}