// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.network.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** ThreatIntel Whitelist for Firewall Policy. */
@Fluent
public final class FirewallPolicyThreatIntelWhitelist {
    /*
     * List of IP addresses for the ThreatIntel Whitelist.
     */
    @JsonProperty(value = "ipAddresses")
    private List<String> ipAddresses;

    /*
     * List of FQDNs for the ThreatIntel Whitelist.
     */
    @JsonProperty(value = "fqdns")
    private List<String> fqdns;

    /** Creates an instance of FirewallPolicyThreatIntelWhitelist class. */
    public FirewallPolicyThreatIntelWhitelist() {
    }

    /**
     * Get the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.
     *
     * @return the ipAddresses value.
     */
    public List<String> ipAddresses() {
        return this.ipAddresses;
    }

    /**
     * Set the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.
     *
     * @param ipAddresses the ipAddresses value to set.
     * @return the FirewallPolicyThreatIntelWhitelist object itself.
     */
    public FirewallPolicyThreatIntelWhitelist withIpAddresses(List<String> ipAddresses) {
        this.ipAddresses = ipAddresses;
        return this;
    }

    /**
     * Get the fqdns property: List of FQDNs for the ThreatIntel Whitelist.
     *
     * @return the fqdns value.
     */
    public List<String> fqdns() {
        return this.fqdns;
    }

    /**
     * Set the fqdns property: List of FQDNs for the ThreatIntel Whitelist.
     *
     * @param fqdns the fqdns value to set.
     * @return the FirewallPolicyThreatIntelWhitelist object itself.
     */
    public FirewallPolicyThreatIntelWhitelist withFqdns(List<String> fqdns) {
        this.fqdns = fqdns;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
