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

package com.azure.resourcemanager.security.models;

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

/** Simulate alerts according to this bundles. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "kind")
@JsonTypeName("Bundles")
@Fluent
public final class AlertSimulatorBundlesRequestProperties extends AlertSimulatorRequestProperties {
    /*
     * Bundles list.
     */
    @JsonProperty(value = "bundles")
    private List<BundleType> bundles;

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

    /**
     * Get the bundles property: Bundles list.
     *
     * @return the bundles value.
     */
    public List<BundleType> bundles() {
        return this.bundles;
    }

    /**
     * Set the bundles property: Bundles list.
     *
     * @param bundles the bundles value to set.
     * @return the AlertSimulatorBundlesRequestProperties object itself.
     */
    public AlertSimulatorBundlesRequestProperties withBundles(List<BundleType> bundles) {
        this.bundles = bundles;
        return this;
    }

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