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

package com.azure.resourcemanager.fluidrelay.fluent.models;

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

/** The set of available keys for this server. */
@Immutable
public final class FluidRelayServerKeysInner {
    /*
     * The primary key for this server
     */
    @JsonProperty(value = "key1", access = JsonProperty.Access.WRITE_ONLY)
    private String key1;

    /*
     * The secondary key for this server
     */
    @JsonProperty(value = "key2", access = JsonProperty.Access.WRITE_ONLY)
    private String key2;

    /**
     * Get the key1 property: The primary key for this server.
     *
     * @return the key1 value.
     */
    public String key1() {
        return this.key1;
    }

    /**
     * Get the key2 property: The secondary key for this server.
     *
     * @return the key2 value.
     */
    public String key2() {
        return this.key2;
    }

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