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

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

There is a newer version: 2.82.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.databasewatcher.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();

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The target resource name.
     * 
     */
    @Import(name="targetName", required=true)
    private String targetName;

    /**
     * @return The target resource name.
     * 
     */
    public String targetName() {
        return this.targetName;
    }

    /**
     * The database watcher name.
     * 
     */
    @Import(name="watcherName", required=true)
    private String watcherName;

    /**
     * @return The database watcher name.
     * 
     */
    public String watcherName() {
        return this.watcherName;
    }

    private GetTargetPlainArgs() {}

    private GetTargetPlainArgs(GetTargetPlainArgs $) {
        this.resourceGroupName = $.resourceGroupName;
        this.targetName = $.targetName;
        this.watcherName = $.watcherName;
    }

    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 resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param targetName The target resource name.
         * 
         * @return builder
         * 
         */
        public Builder targetName(String targetName) {
            $.targetName = targetName;
            return this;
        }

        /**
         * @param watcherName The database watcher name.
         * 
         * @return builder
         * 
         */
        public Builder watcherName(String watcherName) {
            $.watcherName = watcherName;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy