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

package com.azure.resourcemanager.redisenterprise.models;

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

/**
 * Flush all the keys from the current and all its linked databases
 *
 * <p>Parameters for a Redis Enterprise active geo-replication flush operation.
 */
@Fluent
public final class FlushParameters {
    /*
     * The resource identifiers of all the other database resources in the georeplication group to be flushed
     */
    @JsonProperty(value = "ids")
    private List<String> ids;

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

    /**
     * Get the ids property: The resource identifiers of all the other database resources in the georeplication group to
     * be flushed.
     *
     * @return the ids value.
     */
    public List<String> ids() {
        return this.ids;
    }

    /**
     * Set the ids property: The resource identifiers of all the other database resources in the georeplication group to
     * be flushed.
     *
     * @param ids the ids value to set.
     * @return the FlushParameters object itself.
     */
    public FlushParameters withIds(List<String> ids) {
        this.ids = ids;
        return this;
    }

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