
com.pulumi.azurenative.databoxedge.outputs.ComputeResourceResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.databoxedge.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class ComputeResourceResponse {
/**
* @return Memory in GB
*
*/
private Double memoryInGB;
/**
* @return Processor count
*
*/
private Integer processorCount;
private ComputeResourceResponse() {}
/**
* @return Memory in GB
*
*/
public Double memoryInGB() {
return this.memoryInGB;
}
/**
* @return Processor count
*
*/
public Integer processorCount() {
return this.processorCount;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ComputeResourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double memoryInGB;
private Integer processorCount;
public Builder() {}
public Builder(ComputeResourceResponse defaults) {
Objects.requireNonNull(defaults);
this.memoryInGB = defaults.memoryInGB;
this.processorCount = defaults.processorCount;
}
@CustomType.Setter
public Builder memoryInGB(Double memoryInGB) {
if (memoryInGB == null) {
throw new MissingRequiredPropertyException("ComputeResourceResponse", "memoryInGB");
}
this.memoryInGB = memoryInGB;
return this;
}
@CustomType.Setter
public Builder processorCount(Integer processorCount) {
if (processorCount == null) {
throw new MissingRequiredPropertyException("ComputeResourceResponse", "processorCount");
}
this.processorCount = processorCount;
return this;
}
public ComputeResourceResponse build() {
final var _resultValue = new ComputeResourceResponse();
_resultValue.memoryInGB = memoryInGB;
_resultValue.processorCount = processorCount;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy