// 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.fluent.models;

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

/** List of SNAT IP Prefixes learnt by firewall to not SNAT. */
@Fluent
public final class IpPrefixesListInner {
    /*
     * IP Prefix value.
     */
    @JsonProperty(value = "ipPrefixes")
    private List<String> ipPrefixes;

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

    /**
     * Get the ipPrefixes property: IP Prefix value.
     *
     * @return the ipPrefixes value.
     */
    public List<String> ipPrefixes() {
        return this.ipPrefixes;
    }

    /**
     * Set the ipPrefixes property: IP Prefix value.
     *
     * @param ipPrefixes the ipPrefixes value to set.
     * @return the IpPrefixesListInner object itself.
     */
    public IpPrefixesListInner withIpPrefixes(List<String> ipPrefixes) {
        this.ipPrefixes = ipPrefixes;
        return this;
    }

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