com.pulumi.meraki.networks.outputs.SensorAlertsProfilesConditionThresholdWater 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.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SensorAlertsProfilesConditionThresholdWater {
/**
* @return Alerting threshold for a water detection event. Must be set to true.
*
*/
private @Nullable Boolean present;
private SensorAlertsProfilesConditionThresholdWater() {}
/**
* @return Alerting threshold for a water detection event. Must be set to true.
*
*/
public Optional present() {
return Optional.ofNullable(this.present);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SensorAlertsProfilesConditionThresholdWater defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean present;
public Builder() {}
public Builder(SensorAlertsProfilesConditionThresholdWater defaults) {
Objects.requireNonNull(defaults);
this.present = defaults.present;
}
@CustomType.Setter
public Builder present(@Nullable Boolean present) {
this.present = present;
return this;
}
public SensorAlertsProfilesConditionThresholdWater build() {
final var _resultValue = new SensorAlertsProfilesConditionThresholdWater();
_resultValue.present = present;
return _resultValue;
}
}
}