com.pulumi.meraki.organizations.outputs.GetSensorReadingsHistoryItemRemoteLockoutSwitch 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.Boolean;
import java.util.Objects;
@CustomType
public final class GetSensorReadingsHistoryItemRemoteLockoutSwitch {
/**
* @return True if power controls are disabled via the MT40's physical remote lockout switch.
*
*/
private Boolean locked;
private GetSensorReadingsHistoryItemRemoteLockoutSwitch() {}
/**
* @return True if power controls are disabled via the MT40's physical remote lockout switch.
*
*/
public Boolean locked() {
return this.locked;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSensorReadingsHistoryItemRemoteLockoutSwitch defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean locked;
public Builder() {}
public Builder(GetSensorReadingsHistoryItemRemoteLockoutSwitch defaults) {
Objects.requireNonNull(defaults);
this.locked = defaults.locked;
}
@CustomType.Setter
public Builder locked(Boolean locked) {
if (locked == null) {
throw new MissingRequiredPropertyException("GetSensorReadingsHistoryItemRemoteLockoutSwitch", "locked");
}
this.locked = locked;
return this;
}
public GetSensorReadingsHistoryItemRemoteLockoutSwitch build() {
final var _resultValue = new GetSensorReadingsHistoryItemRemoteLockoutSwitch();
_resultValue.locked = locked;
return _resultValue;
}
}
}