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

package com.azure.resourcemanager.customerinsights.models;

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

/** The resource set description. */
@Fluent
public final class ResourceSetDescription {
    /*
     * The elements included in the set.
     */
    @JsonProperty(value = "elements")
    private List<String> elements;

    /*
     * The elements that are not included in the set, in case elements contains '*' indicating 'all'.
     */
    @JsonProperty(value = "exceptions")
    private List<String> exceptions;

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

    /**
     * Get the elements property: The elements included in the set.
     *
     * @return the elements value.
     */
    public List<String> elements() {
        return this.elements;
    }

    /**
     * Set the elements property: The elements included in the set.
     *
     * @param elements the elements value to set.
     * @return the ResourceSetDescription object itself.
     */
    public ResourceSetDescription withElements(List<String> elements) {
        this.elements = elements;
        return this;
    }

    /**
     * Get the exceptions property: The elements that are not included in the set, in case elements contains '*'
     * indicating 'all'.
     *
     * @return the exceptions value.
     */
    public List<String> exceptions() {
        return this.exceptions;
    }

    /**
     * Set the exceptions property: The elements that are not included in the set, in case elements contains '*'
     * indicating 'all'.
     *
     * @param exceptions the exceptions value to set.
     * @return the ResourceSetDescription object itself.
     */
    public ResourceSetDescription withExceptions(List<String> exceptions) {
        this.exceptions = exceptions;
        return this;
    }

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