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

com.pulumi.azurenative.scom.inputs.GetMonitoredResourcePlainArgs 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.scom.inputs;

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


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

    public static final GetMonitoredResourcePlainArgs Empty = new GetMonitoredResourcePlainArgs();

    /**
     * Name of the SCOM managed instance.
     * 
     */
    @Import(name="instanceName", required=true)
    private String instanceName;

    /**
     * @return Name of the SCOM managed instance.
     * 
     */
    public String instanceName() {
        return this.instanceName;
    }

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

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

    /**
     * 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;
    }

    private GetMonitoredResourcePlainArgs() {}

    private GetMonitoredResourcePlainArgs(GetMonitoredResourcePlainArgs $) {
        this.instanceName = $.instanceName;
        this.monitoredResourceName = $.monitoredResourceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetMonitoredResourcePlainArgs $;

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

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

        /**
         * @param instanceName Name of the SCOM managed instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceName(String instanceName) {
            $.instanceName = instanceName;
            return this;
        }

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

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

        public GetMonitoredResourcePlainArgs build() {
            if ($.instanceName == null) {
                throw new MissingRequiredPropertyException("GetMonitoredResourcePlainArgs", "instanceName");
            }
            if ($.monitoredResourceName == null) {
                throw new MissingRequiredPropertyException("GetMonitoredResourcePlainArgs", "monitoredResourceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetMonitoredResourcePlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy