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

com.pulumi.spotinst.gke.inputs.ElastigroupScalingDownPolicyDimensionArgs 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.gke.inputs;

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


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

    public static final ElastigroupScalingDownPolicyDimensionArgs Empty = new ElastigroupScalingDownPolicyDimensionArgs();

    @Import(name="name", required=true)
    private Output name;

    public Output name() {
        return this.name;
    }

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

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

    private ElastigroupScalingDownPolicyDimensionArgs() {}

    private ElastigroupScalingDownPolicyDimensionArgs(ElastigroupScalingDownPolicyDimensionArgs $) {
        this.name = $.name;
        this.value = $.value;
    }

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

    public static final class Builder {
        private ElastigroupScalingDownPolicyDimensionArgs $;

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

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

        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        public Builder name(String name) {
            return name(Output.of(name));
        }

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

        public Builder value(String value) {
            return value(Output.of(value));
        }

        public ElastigroupScalingDownPolicyDimensionArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ElastigroupScalingDownPolicyDimensionArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy