com.pulumi.meraki.organizations.outputs.GetSensorReadingsHistoryItemCo2 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.organizations.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class GetSensorReadingsHistoryItemCo2 {
/**
* @return CO2 reading in parts per million.
*
*/
private Integer concentration;
private GetSensorReadingsHistoryItemCo2() {}
/**
* @return CO2 reading in parts per million.
*
*/
public Integer concentration() {
return this.concentration;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSensorReadingsHistoryItemCo2 defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer concentration;
public Builder() {}
public Builder(GetSensorReadingsHistoryItemCo2 defaults) {
Objects.requireNonNull(defaults);
this.concentration = defaults.concentration;
}
@CustomType.Setter
public Builder concentration(Integer concentration) {
if (concentration == null) {
throw new MissingRequiredPropertyException("GetSensorReadingsHistoryItemCo2", "concentration");
}
this.concentration = concentration;
return this;
}
public GetSensorReadingsHistoryItemCo2 build() {
final var _resultValue = new GetSensorReadingsHistoryItemCo2();
_resultValue.concentration = concentration;
return _resultValue;
}
}
}