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

com.equinix.pulumi.metal.inputs.GetSpotMarketRequestArgs Maven / Gradle / Ivy

There is a newer version: 0.19.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.equinix.pulumi.metal.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 GetSpotMarketRequestArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetSpotMarketRequestArgs Empty = new GetSpotMarketRequestArgs();

    /**
     * The id of the Spot Market Request.
     * 
     */
    @Import(name="requestId", required=true)
    private Output requestId;

    /**
     * @return The id of the Spot Market Request.
     * 
     */
    public Output requestId() {
        return this.requestId;
    }

    private GetSpotMarketRequestArgs() {}

    private GetSpotMarketRequestArgs(GetSpotMarketRequestArgs $) {
        this.requestId = $.requestId;
    }

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

    public static final class Builder {
        private GetSpotMarketRequestArgs $;

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

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

        /**
         * @param requestId The id of the Spot Market Request.
         * 
         * @return builder
         * 
         */
        public Builder requestId(Output requestId) {
            $.requestId = requestId;
            return this;
        }

        /**
         * @param requestId The id of the Spot Market Request.
         * 
         * @return builder
         * 
         */
        public Builder requestId(String requestId) {
            return requestId(Output.of(requestId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy