All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.hdinsight.outputs.ClusterPoolResourcePropertiesResponseComputeProfile Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show newest version
// *** 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.hdinsight.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ClusterPoolResourcePropertiesResponseComputeProfile {
    /**
     * @return The number of virtual machines.
     * 
     */
    private Integer count;
    /**
     * @return The virtual machine SKU.
     * 
     */
    private String vmSize;

    private ClusterPoolResourcePropertiesResponseComputeProfile() {}
    /**
     * @return The number of virtual machines.
     * 
     */
    public Integer count() {
        return this.count;
    }
    /**
     * @return The virtual machine SKU.
     * 
     */
    public String vmSize() {
        return this.vmSize;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ClusterPoolResourcePropertiesResponseComputeProfile defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer count;
        private String vmSize;
        public Builder() {}
        public Builder(ClusterPoolResourcePropertiesResponseComputeProfile defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.count = defaults.count;
    	      this.vmSize = defaults.vmSize;
        }

        @CustomType.Setter
        public Builder count(Integer count) {
            if (count == null) {
              throw new MissingRequiredPropertyException("ClusterPoolResourcePropertiesResponseComputeProfile", "count");
            }
            this.count = count;
            return this;
        }
        @CustomType.Setter
        public Builder vmSize(String vmSize) {
            if (vmSize == null) {
              throw new MissingRequiredPropertyException("ClusterPoolResourcePropertiesResponseComputeProfile", "vmSize");
            }
            this.vmSize = vmSize;
            return this;
        }
        public ClusterPoolResourcePropertiesResponseComputeProfile build() {
            final var _resultValue = new ClusterPoolResourcePropertiesResponseComputeProfile();
            _resultValue.count = count;
            _resultValue.vmSize = vmSize;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy