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

com.pulumi.azure.networkfunction.inputs.AzureTrafficCollectorState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.networkfunction.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AzureTrafficCollectorState extends com.pulumi.resources.ResourceArgs {

    public static final AzureTrafficCollectorState Empty = new AzureTrafficCollectorState();

    /**
     * The list of Resource IDs of collector policies.
     * 
     */
    @Import(name="collectorPolicyIds")
    private @Nullable Output> collectorPolicyIds;

    /**
     * @return The list of Resource IDs of collector policies.
     * 
     */
    public Optional>> collectorPolicyIds() {
        return Optional.ofNullable(this.collectorPolicyIds);
    }

    /**
     * Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * A mapping of tags which should be assigned to the Network Function Azure Traffic Collector.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags which should be assigned to the Network Function Azure Traffic Collector.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The Resource ID of virtual hub.
     * 
     */
    @Import(name="virtualHubIds")
    private @Nullable Output> virtualHubIds;

    /**
     * @return The Resource ID of virtual hub.
     * 
     */
    public Optional>> virtualHubIds() {
        return Optional.ofNullable(this.virtualHubIds);
    }

    private AzureTrafficCollectorState() {}

    private AzureTrafficCollectorState(AzureTrafficCollectorState $) {
        this.collectorPolicyIds = $.collectorPolicyIds;
        this.location = $.location;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.virtualHubIds = $.virtualHubIds;
    }

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

    public static final class Builder {
        private AzureTrafficCollectorState $;

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

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

        /**
         * @param collectorPolicyIds The list of Resource IDs of collector policies.
         * 
         * @return builder
         * 
         */
        public Builder collectorPolicyIds(@Nullable Output> collectorPolicyIds) {
            $.collectorPolicyIds = collectorPolicyIds;
            return this;
        }

        /**
         * @param collectorPolicyIds The list of Resource IDs of collector policies.
         * 
         * @return builder
         * 
         */
        public Builder collectorPolicyIds(List collectorPolicyIds) {
            return collectorPolicyIds(Output.of(collectorPolicyIds));
        }

        /**
         * @param collectorPolicyIds The list of Resource IDs of collector policies.
         * 
         * @return builder
         * 
         */
        public Builder collectorPolicyIds(String... collectorPolicyIds) {
            return collectorPolicyIds(List.of(collectorPolicyIds));
        }

        /**
         * @param location Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Network Function Azure Traffic Collector.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Network Function Azure Traffic Collector.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param virtualHubIds The Resource ID of virtual hub.
         * 
         * @return builder
         * 
         */
        public Builder virtualHubIds(@Nullable Output> virtualHubIds) {
            $.virtualHubIds = virtualHubIds;
            return this;
        }

        /**
         * @param virtualHubIds The Resource ID of virtual hub.
         * 
         * @return builder
         * 
         */
        public Builder virtualHubIds(List virtualHubIds) {
            return virtualHubIds(Output.of(virtualHubIds));
        }

        /**
         * @param virtualHubIds The Resource ID of virtual hub.
         * 
         * @return builder
         * 
         */
        public Builder virtualHubIds(String... virtualHubIds) {
            return virtualHubIds(List.of(virtualHubIds));
        }

        public AzureTrafficCollectorState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy