// *** 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.network.outputs;

import com.pulumi.azure.network.outputs.GetRouteFilterRule;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetRouteFilterResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The Azure Region where the Route Filter exists.
     * 
     */
    private String location;
    /**
     * @return The Name of Route Filter Rule
     * 
     */
    private String name;
    private String resourceGroupName;
    /**
     * @return A `rule` block as defined below.
     * 
     */
    private List<GetRouteFilterRule> rules;
    /**
     * @return A mapping of tags assigned to the Route Filter.
     * 
     */
    private Map<String,String> tags;

    private GetRouteFilterResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The Azure Region where the Route Filter exists.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The Name of Route Filter Rule
     * 
     */
    public String name() {
        return this.name;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return A `rule` block as defined below.
     * 
     */
    public List<GetRouteFilterRule> rules() {
        return this.rules;
    }
    /**
     * @return A mapping of tags assigned to the Route Filter.
     * 
     */
    public Map<String,String> tags() {
        return this.tags;
    }

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

    public static Builder builder(GetRouteFilterResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String location;
        private String name;
        private String resourceGroupName;
        private List<GetRouteFilterRule> rules;
        private Map<String,String> tags;
        public Builder() {}
        public Builder(GetRouteFilterResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.rules = defaults.rules;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            this.location = Objects.requireNonNull(location);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            this.resourceGroupName = Objects.requireNonNull(resourceGroupName);
            return this;
        }
        @CustomType.Setter
        public Builder rules(List<GetRouteFilterRule> rules) {
            this.rules = Objects.requireNonNull(rules);
            return this;
        }
        public Builder rules(GetRouteFilterRule... rules) {
            return rules(List.of(rules));
        }
        @CustomType.Setter
        public Builder tags(Map<String,String> tags) {
            this.tags = Objects.requireNonNull(tags);
            return this;
        }
        public GetRouteFilterResult build() {
            final var o = new GetRouteFilterResult();
            o.id = id;
            o.location = location;
            o.name = name;
            o.resourceGroupName = resourceGroupName;
            o.rules = rules;
            o.tags = tags;
            return o;
        }
    }
}
