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

com.pulumi.spotinst.aws.inputs.ElastigroupIntegrationNomadAutoscaleHeadroomArgs Maven / Gradle / Ivy

The 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.spotinst.aws.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ElastigroupIntegrationNomadAutoscaleHeadroomArgs extends com.pulumi.resources.ResourceArgs {

    public static final ElastigroupIntegrationNomadAutoscaleHeadroomArgs Empty = new ElastigroupIntegrationNomadAutoscaleHeadroomArgs();

    @Import(name="cpuPerUnit")
    private @Nullable Output cpuPerUnit;

    public Optional> cpuPerUnit() {
        return Optional.ofNullable(this.cpuPerUnit);
    }

    @Import(name="memoryPerUnit")
    private @Nullable Output memoryPerUnit;

    public Optional> memoryPerUnit() {
        return Optional.ofNullable(this.memoryPerUnit);
    }

    @Import(name="numOfUnits")
    private @Nullable Output numOfUnits;

    public Optional> numOfUnits() {
        return Optional.ofNullable(this.numOfUnits);
    }

    private ElastigroupIntegrationNomadAutoscaleHeadroomArgs() {}

    private ElastigroupIntegrationNomadAutoscaleHeadroomArgs(ElastigroupIntegrationNomadAutoscaleHeadroomArgs $) {
        this.cpuPerUnit = $.cpuPerUnit;
        this.memoryPerUnit = $.memoryPerUnit;
        this.numOfUnits = $.numOfUnits;
    }

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

    public static final class Builder {
        private ElastigroupIntegrationNomadAutoscaleHeadroomArgs $;

        public Builder() {
            $ = new ElastigroupIntegrationNomadAutoscaleHeadroomArgs();
        }

        public Builder(ElastigroupIntegrationNomadAutoscaleHeadroomArgs defaults) {
            $ = new ElastigroupIntegrationNomadAutoscaleHeadroomArgs(Objects.requireNonNull(defaults));
        }

        public Builder cpuPerUnit(@Nullable Output cpuPerUnit) {
            $.cpuPerUnit = cpuPerUnit;
            return this;
        }

        public Builder cpuPerUnit(Integer cpuPerUnit) {
            return cpuPerUnit(Output.of(cpuPerUnit));
        }

        public Builder memoryPerUnit(@Nullable Output memoryPerUnit) {
            $.memoryPerUnit = memoryPerUnit;
            return this;
        }

        public Builder memoryPerUnit(Integer memoryPerUnit) {
            return memoryPerUnit(Output.of(memoryPerUnit));
        }

        public Builder numOfUnits(@Nullable Output numOfUnits) {
            $.numOfUnits = numOfUnits;
            return this;
        }

        public Builder numOfUnits(Integer numOfUnits) {
            return numOfUnits(Output.of(numOfUnits));
        }

        public ElastigroupIntegrationNomadAutoscaleHeadroomArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy