com.pulumi.meraki.organizations.outputs.GetSensorReadingsLatestItemReadingNoiseAmbient 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 GetSensorReadingsLatestItemReadingNoiseAmbient {
/**
* @return Ambient noise reading in adjusted decibels.
*
*/
private Integer level;
private GetSensorReadingsLatestItemReadingNoiseAmbient() {}
/**
* @return Ambient noise reading in adjusted decibels.
*
*/
public Integer level() {
return this.level;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSensorReadingsLatestItemReadingNoiseAmbient defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer level;
public Builder() {}
public Builder(GetSensorReadingsLatestItemReadingNoiseAmbient defaults) {
Objects.requireNonNull(defaults);
this.level = defaults.level;
}
@CustomType.Setter
public Builder level(Integer level) {
if (level == null) {
throw new MissingRequiredPropertyException("GetSensorReadingsLatestItemReadingNoiseAmbient", "level");
}
this.level = level;
return this;
}
public GetSensorReadingsLatestItemReadingNoiseAmbient build() {
final var _resultValue = new GetSensorReadingsLatestItemReadingNoiseAmbient();
_resultValue.level = level;
return _resultValue;
}
}
}