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

package com.azure.resourcemanager.managednetworkfabric.models;

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

/** IP Community ID list properties. */
@Fluent
public class IpCommunityIdList {
    /*
     * List of IP Community resource IDs.
     */
    @JsonProperty(value = "ipCommunityIds")
    private List<String> ipCommunityIds;

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

    /**
     * Get the ipCommunityIds property: List of IP Community resource IDs.
     *
     * @return the ipCommunityIds value.
     */
    public List<String> ipCommunityIds() {
        return this.ipCommunityIds;
    }

    /**
     * Set the ipCommunityIds property: List of IP Community resource IDs.
     *
     * @param ipCommunityIds the ipCommunityIds value to set.
     * @return the IpCommunityIdList object itself.
     */
    public IpCommunityIdList withIpCommunityIds(List<String> ipCommunityIds) {
        this.ipCommunityIds = ipCommunityIds;
        return this;
    }

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