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

com.pulumi.azurenative.insights.inputs.GetDataCollectionRuleAssociationArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.insights.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 GetDataCollectionRuleAssociationArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetDataCollectionRuleAssociationArgs Empty = new GetDataCollectionRuleAssociationArgs();

    /**
     * The name of the association. The name is case insensitive.
     * 
     */
    @Import(name="associationName", required=true)
    private Output associationName;

    /**
     * @return The name of the association. The name is case insensitive.
     * 
     */
    public Output associationName() {
        return this.associationName;
    }

    /**
     * The identifier of the resource.
     * 
     */
    @Import(name="resourceUri", required=true)
    private Output resourceUri;

    /**
     * @return The identifier of the resource.
     * 
     */
    public Output resourceUri() {
        return this.resourceUri;
    }

    private GetDataCollectionRuleAssociationArgs() {}

    private GetDataCollectionRuleAssociationArgs(GetDataCollectionRuleAssociationArgs $) {
        this.associationName = $.associationName;
        this.resourceUri = $.resourceUri;
    }

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

    public static final class Builder {
        private GetDataCollectionRuleAssociationArgs $;

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

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

        /**
         * @param associationName The name of the association. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder associationName(Output associationName) {
            $.associationName = associationName;
            return this;
        }

        /**
         * @param associationName The name of the association. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder associationName(String associationName) {
            return associationName(Output.of(associationName));
        }

        /**
         * @param resourceUri The identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(Output resourceUri) {
            $.resourceUri = resourceUri;
            return this;
        }

        /**
         * @param resourceUri The identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(String resourceUri) {
            return resourceUri(Output.of(resourceUri));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy