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

package com.azure.resourcemanager.signalr.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Parameters describes the request to regenerate access keys. */
@Fluent
public final class RegenerateKeyParameters {
    /*
     * The type of access key.
     */
    @JsonProperty(value = "keyType")
    private KeyType keyType;

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

    /**
     * Get the keyType property: The type of access key.
     *
     * @return the keyType value.
     */
    public KeyType keyType() {
        return this.keyType;
    }

    /**
     * Set the keyType property: The type of access key.
     *
     * @param keyType the keyType value to set.
     * @return the RegenerateKeyParameters object itself.
     */
    public RegenerateKeyParameters withKeyType(KeyType keyType) {
        this.keyType = keyType;
        return this;
    }

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