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

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

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


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

    public static final ElastigroupAzureV3SignalArgs Empty = new ElastigroupAzureV3SignalArgs();

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

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

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

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

    private ElastigroupAzureV3SignalArgs() {}

    private ElastigroupAzureV3SignalArgs(ElastigroupAzureV3SignalArgs $) {
        this.timeout = $.timeout;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ElastigroupAzureV3SignalArgs $;

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

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

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

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

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

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

        public ElastigroupAzureV3SignalArgs build() {
            if ($.timeout == null) {
                throw new MissingRequiredPropertyException("ElastigroupAzureV3SignalArgs", "timeout");
            }
            if ($.type == null) {
                throw new MissingRequiredPropertyException("ElastigroupAzureV3SignalArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy