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

com.pulumi.azurenative.networkfunction.inputs.GetCollectorPolicyArgs 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.networkfunction.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 GetCollectorPolicyArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCollectorPolicyArgs Empty = new GetCollectorPolicyArgs();

    /**
     * Azure Traffic Collector name
     * 
     */
    @Import(name="azureTrafficCollectorName", required=true)
    private Output azureTrafficCollectorName;

    /**
     * @return Azure Traffic Collector name
     * 
     */
    public Output azureTrafficCollectorName() {
        return this.azureTrafficCollectorName;
    }

    /**
     * Collector Policy Name
     * 
     */
    @Import(name="collectorPolicyName", required=true)
    private Output collectorPolicyName;

    /**
     * @return Collector Policy Name
     * 
     */
    public Output collectorPolicyName() {
        return this.collectorPolicyName;
    }

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

    /**
     * @return The name of the resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetCollectorPolicyArgs() {}

    private GetCollectorPolicyArgs(GetCollectorPolicyArgs $) {
        this.azureTrafficCollectorName = $.azureTrafficCollectorName;
        this.collectorPolicyName = $.collectorPolicyName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetCollectorPolicyArgs $;

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

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

        /**
         * @param azureTrafficCollectorName Azure Traffic Collector name
         * 
         * @return builder
         * 
         */
        public Builder azureTrafficCollectorName(Output azureTrafficCollectorName) {
            $.azureTrafficCollectorName = azureTrafficCollectorName;
            return this;
        }

        /**
         * @param azureTrafficCollectorName Azure Traffic Collector name
         * 
         * @return builder
         * 
         */
        public Builder azureTrafficCollectorName(String azureTrafficCollectorName) {
            return azureTrafficCollectorName(Output.of(azureTrafficCollectorName));
        }

        /**
         * @param collectorPolicyName Collector Policy Name
         * 
         * @return builder
         * 
         */
        public Builder collectorPolicyName(Output collectorPolicyName) {
            $.collectorPolicyName = collectorPolicyName;
            return this;
        }

        /**
         * @param collectorPolicyName Collector Policy Name
         * 
         * @return builder
         * 
         */
        public Builder collectorPolicyName(String collectorPolicyName) {
            return collectorPolicyName(Output.of(collectorPolicyName));
        }

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

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

        public GetCollectorPolicyArgs build() {
            if ($.azureTrafficCollectorName == null) {
                throw new MissingRequiredPropertyException("GetCollectorPolicyArgs", "azureTrafficCollectorName");
            }
            if ($.collectorPolicyName == null) {
                throw new MissingRequiredPropertyException("GetCollectorPolicyArgs", "collectorPolicyName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetCollectorPolicyArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy