
com.pulumi.junipermist.device.outputs.GetSwitchStatsDeviceSwitchStatMemoryStat Maven / Gradle / Ivy
// *** 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.junipermist.device.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.util.Objects;
@CustomType
public final class GetSwitchStatsDeviceSwitchStatMemoryStat {
private Double usage;
private GetSwitchStatsDeviceSwitchStatMemoryStat() {}
public Double usage() {
return this.usage;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSwitchStatsDeviceSwitchStatMemoryStat defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double usage;
public Builder() {}
public Builder(GetSwitchStatsDeviceSwitchStatMemoryStat defaults) {
Objects.requireNonNull(defaults);
this.usage = defaults.usage;
}
@CustomType.Setter
public Builder usage(Double usage) {
if (usage == null) {
throw new MissingRequiredPropertyException("GetSwitchStatsDeviceSwitchStatMemoryStat", "usage");
}
this.usage = usage;
return this;
}
public GetSwitchStatsDeviceSwitchStatMemoryStat build() {
final var _resultValue = new GetSwitchStatsDeviceSwitchStatMemoryStat();
_resultValue.usage = usage;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy