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

com.pulumi.spotinst.aws.inputs.ElastigroupIntegrationKubernetesAutoscaleLabelArgs 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final ElastigroupIntegrationKubernetesAutoscaleLabelArgs Empty = new ElastigroupIntegrationKubernetesAutoscaleLabelArgs();

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

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

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

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

    private ElastigroupIntegrationKubernetesAutoscaleLabelArgs() {}

    private ElastigroupIntegrationKubernetesAutoscaleLabelArgs(ElastigroupIntegrationKubernetesAutoscaleLabelArgs $) {
        this.key = $.key;
        this.value = $.value;
    }

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

    public static final class Builder {
        private ElastigroupIntegrationKubernetesAutoscaleLabelArgs $;

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

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

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

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

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

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

        public ElastigroupIntegrationKubernetesAutoscaleLabelArgs build() {
            if ($.key == null) {
                throw new MissingRequiredPropertyException("ElastigroupIntegrationKubernetesAutoscaleLabelArgs", "key");
            }
            if ($.value == null) {
                throw new MissingRequiredPropertyException("ElastigroupIntegrationKubernetesAutoscaleLabelArgs", "value");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy