
com.pulumi.azurenative.databoxedge.outputs.KubernetesRoleComputeResponse 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.lang.String;
import java.util.Objects;
@CustomType
public final class KubernetesRoleComputeResponse {
/**
* @return Memory in bytes
*
*/
private Double memoryInBytes;
/**
* @return Processor count
*
*/
private Integer processorCount;
/**
* @return VM profile
*
*/
private String vmProfile;
private KubernetesRoleComputeResponse() {}
/**
* @return Memory in bytes
*
*/
public Double memoryInBytes() {
return this.memoryInBytes;
}
/**
* @return Processor count
*
*/
public Integer processorCount() {
return this.processorCount;
}
/**
* @return VM profile
*
*/
public String vmProfile() {
return this.vmProfile;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KubernetesRoleComputeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double memoryInBytes;
private Integer processorCount;
private String vmProfile;
public Builder() {}
public Builder(KubernetesRoleComputeResponse defaults) {
Objects.requireNonNull(defaults);
this.memoryInBytes = defaults.memoryInBytes;
this.processorCount = defaults.processorCount;
this.vmProfile = defaults.vmProfile;
}
@CustomType.Setter
public Builder memoryInBytes(Double memoryInBytes) {
if (memoryInBytes == null) {
throw new MissingRequiredPropertyException("KubernetesRoleComputeResponse", "memoryInBytes");
}
this.memoryInBytes = memoryInBytes;
return this;
}
@CustomType.Setter
public Builder processorCount(Integer processorCount) {
if (processorCount == null) {
throw new MissingRequiredPropertyException("KubernetesRoleComputeResponse", "processorCount");
}
this.processorCount = processorCount;
return this;
}
@CustomType.Setter
public Builder vmProfile(String vmProfile) {
if (vmProfile == null) {
throw new MissingRequiredPropertyException("KubernetesRoleComputeResponse", "vmProfile");
}
this.vmProfile = vmProfile;
return this;
}
public KubernetesRoleComputeResponse build() {
final var _resultValue = new KubernetesRoleComputeResponse();
_resultValue.memoryInBytes = memoryInBytes;
_resultValue.processorCount = processorCount;
_resultValue.vmProfile = vmProfile;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy