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

com.pulumi.azurenative.chaos.inputs.GetExperimentArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.pulumi.azurenative.chaos.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 GetExperimentArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetExperimentArgs Empty = new GetExperimentArgs();

    /**
     * String that represents a Experiment resource name.
     * 
     */
    @Import(name="experimentName", required=true)
    private Output experimentName;

    /**
     * @return String that represents a Experiment resource name.
     * 
     */
    public Output experimentName() {
        return this.experimentName;
    }

    /**
     * String that represents an Azure resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return String that represents an Azure resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetExperimentArgs() {}

    private GetExperimentArgs(GetExperimentArgs $) {
        this.experimentName = $.experimentName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetExperimentArgs $;

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

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

        /**
         * @param experimentName String that represents a Experiment resource name.
         * 
         * @return builder
         * 
         */
        public Builder experimentName(Output experimentName) {
            $.experimentName = experimentName;
            return this;
        }

        /**
         * @param experimentName String that represents a Experiment resource name.
         * 
         * @return builder
         * 
         */
        public Builder experimentName(String experimentName) {
            return experimentName(Output.of(experimentName));
        }

        /**
         * @param resourceGroupName String that represents an Azure resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName String that represents an Azure resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetExperimentArgs build() {
            if ($.experimentName == null) {
                throw new MissingRequiredPropertyException("GetExperimentArgs", "experimentName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetExperimentArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy