com.pulumi.meraki.organizations.outputs.GetDevicesStatusesItemComponentsPowerSupply 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 com.pulumi.meraki.organizations.outputs.GetDevicesStatusesItemComponentsPowerSupplyPoe;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetDevicesStatusesItemComponentsPowerSupply {
/**
* @return Model of the power supply
*
*/
private String model;
/**
* @return PoE info of the power supply
*
*/
private GetDevicesStatusesItemComponentsPowerSupplyPoe poe;
/**
* @return Serial of the power supply
*
*/
private String serial;
/**
* @return Slot the power supply is in
*
*/
private Integer slot;
/**
* @return Status of the power supply
*
*/
private String status;
private GetDevicesStatusesItemComponentsPowerSupply() {}
/**
* @return Model of the power supply
*
*/
public String model() {
return this.model;
}
/**
* @return PoE info of the power supply
*
*/
public GetDevicesStatusesItemComponentsPowerSupplyPoe poe() {
return this.poe;
}
/**
* @return Serial of the power supply
*
*/
public String serial() {
return this.serial;
}
/**
* @return Slot the power supply is in
*
*/
public Integer slot() {
return this.slot;
}
/**
* @return Status of the power supply
*
*/
public String status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDevicesStatusesItemComponentsPowerSupply defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String model;
private GetDevicesStatusesItemComponentsPowerSupplyPoe poe;
private String serial;
private Integer slot;
private String status;
public Builder() {}
public Builder(GetDevicesStatusesItemComponentsPowerSupply defaults) {
Objects.requireNonNull(defaults);
this.model = defaults.model;
this.poe = defaults.poe;
this.serial = defaults.serial;
this.slot = defaults.slot;
this.status = defaults.status;
}
@CustomType.Setter
public Builder model(String model) {
if (model == null) {
throw new MissingRequiredPropertyException("GetDevicesStatusesItemComponentsPowerSupply", "model");
}
this.model = model;
return this;
}
@CustomType.Setter
public Builder poe(GetDevicesStatusesItemComponentsPowerSupplyPoe poe) {
if (poe == null) {
throw new MissingRequiredPropertyException("GetDevicesStatusesItemComponentsPowerSupply", "poe");
}
this.poe = poe;
return this;
}
@CustomType.Setter
public Builder serial(String serial) {
if (serial == null) {
throw new MissingRequiredPropertyException("GetDevicesStatusesItemComponentsPowerSupply", "serial");
}
this.serial = serial;
return this;
}
@CustomType.Setter
public Builder slot(Integer slot) {
if (slot == null) {
throw new MissingRequiredPropertyException("GetDevicesStatusesItemComponentsPowerSupply", "slot");
}
this.slot = slot;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetDevicesStatusesItemComponentsPowerSupply", "status");
}
this.status = status;
return this;
}
public GetDevicesStatusesItemComponentsPowerSupply build() {
final var _resultValue = new GetDevicesStatusesItemComponentsPowerSupply();
_resultValue.model = model;
_resultValue.poe = poe;
_resultValue.serial = serial;
_resultValue.slot = slot;
_resultValue.status = status;
return _resultValue;
}
}
}