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

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

There is a newer version: 2.78.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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetTargetPlainArgs Empty = new GetTargetPlainArgs();

    /**
     * String that represents a resource provider namespace.
     * 
     */
    @Import(name="parentProviderNamespace", required=true)
    private String parentProviderNamespace;

    /**
     * @return String that represents a resource provider namespace.
     * 
     */
    public String parentProviderNamespace() {
        return this.parentProviderNamespace;
    }

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

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

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

    /**
     * @return String that represents a resource type.
     * 
     */
    public String parentResourceType() {
        return this.parentResourceType;
    }

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

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

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

    /**
     * @return String that represents a Target resource name.
     * 
     */
    public String targetName() {
        return this.targetName;
    }

    private GetTargetPlainArgs() {}

    private GetTargetPlainArgs(GetTargetPlainArgs $) {
        this.parentProviderNamespace = $.parentProviderNamespace;
        this.parentResourceName = $.parentResourceName;
        this.parentResourceType = $.parentResourceType;
        this.resourceGroupName = $.resourceGroupName;
        this.targetName = $.targetName;
    }

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

    public static final class Builder {
        private GetTargetPlainArgs $;

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

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

        /**
         * @param parentProviderNamespace String that represents a resource provider namespace.
         * 
         * @return builder
         * 
         */
        public Builder parentProviderNamespace(String parentProviderNamespace) {
            $.parentProviderNamespace = parentProviderNamespace;
            return this;
        }

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

        /**
         * @param parentResourceType String that represents a resource type.
         * 
         * @return builder
         * 
         */
        public Builder parentResourceType(String parentResourceType) {
            $.parentResourceType = parentResourceType;
            return this;
        }

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

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

        public GetTargetPlainArgs build() {
            if ($.parentProviderNamespace == null) {
                throw new MissingRequiredPropertyException("GetTargetPlainArgs", "parentProviderNamespace");
            }
            if ($.parentResourceName == null) {
                throw new MissingRequiredPropertyException("GetTargetPlainArgs", "parentResourceName");
            }
            if ($.parentResourceType == null) {
                throw new MissingRequiredPropertyException("GetTargetPlainArgs", "parentResourceType");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetTargetPlainArgs", "resourceGroupName");
            }
            if ($.targetName == null) {
                throw new MissingRequiredPropertyException("GetTargetPlainArgs", "targetName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy