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

com.pulumi.azurenative.awsconnector.inputs.GetEc2InstancePlainArgs Maven / Gradle / Ivy

// *** 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.azurenative.awsconnector.inputs;

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


public final class GetEc2InstancePlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetEc2InstancePlainArgs Empty = new GetEc2InstancePlainArgs();

    /**
     * The fully qualified Azure Resource manager identifier of the resource.
     * 
     */
    @Import(name="resourceUri", required=true)
    private String resourceUri;

    /**
     * @return The fully qualified Azure Resource manager identifier of the resource.
     * 
     */
    public String resourceUri() {
        return this.resourceUri;
    }

    private GetEc2InstancePlainArgs() {}

    private GetEc2InstancePlainArgs(GetEc2InstancePlainArgs $) {
        this.resourceUri = $.resourceUri;
    }

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

    public static final class Builder {
        private GetEc2InstancePlainArgs $;

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

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

        /**
         * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(String resourceUri) {
            $.resourceUri = resourceUri;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy