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

com.pulumi.azurenative.scvmm.outputs.CloudCapacityResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.scvmm.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class CloudCapacityResponse {
    /**
     * @return CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.
     * 
     */
    private @Nullable Double cpuCount;
    /**
     * @return MemoryMB specifies a memory usage limit in megabytes.
     * 
     */
    private @Nullable Double memoryMB;
    /**
     * @return VMCount gives the max number of VMs that can be deployed in the cloud.
     * 
     */
    private @Nullable Double vmCount;

    private CloudCapacityResponse() {}
    /**
     * @return CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.
     * 
     */
    public Optional cpuCount() {
        return Optional.ofNullable(this.cpuCount);
    }
    /**
     * @return MemoryMB specifies a memory usage limit in megabytes.
     * 
     */
    public Optional memoryMB() {
        return Optional.ofNullable(this.memoryMB);
    }
    /**
     * @return VMCount gives the max number of VMs that can be deployed in the cloud.
     * 
     */
    public Optional vmCount() {
        return Optional.ofNullable(this.vmCount);
    }

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

    public static Builder builder(CloudCapacityResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Double cpuCount;
        private @Nullable Double memoryMB;
        private @Nullable Double vmCount;
        public Builder() {}
        public Builder(CloudCapacityResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cpuCount = defaults.cpuCount;
    	      this.memoryMB = defaults.memoryMB;
    	      this.vmCount = defaults.vmCount;
        }

        @CustomType.Setter
        public Builder cpuCount(@Nullable Double cpuCount) {

            this.cpuCount = cpuCount;
            return this;
        }
        @CustomType.Setter
        public Builder memoryMB(@Nullable Double memoryMB) {

            this.memoryMB = memoryMB;
            return this;
        }
        @CustomType.Setter
        public Builder vmCount(@Nullable Double vmCount) {

            this.vmCount = vmCount;
            return this;
        }
        public CloudCapacityResponse build() {
            final var _resultValue = new CloudCapacityResponse();
            _resultValue.cpuCount = cpuCount;
            _resultValue.memoryMB = memoryMB;
            _resultValue.vmCount = vmCount;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy