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

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

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

/**
 * The set of keys which can be used to access the Maps REST APIs. Two keys are provided for key rotation without
 * interruption.
 */
@Immutable
public final class MapsAccountKeysInner {
    /*
     * The last updated date and time of the primary key.
     */
    @JsonProperty(value = "primaryKeyLastUpdated", access = JsonProperty.Access.WRITE_ONLY)
    private String primaryKeyLastUpdated;

    /*
     * The primary key for accessing the Maps REST APIs.
     */
    @JsonProperty(value = "primaryKey", access = JsonProperty.Access.WRITE_ONLY)
    private String primaryKey;

    /*
     * The secondary key for accessing the Maps REST APIs.
     */
    @JsonProperty(value = "secondaryKey", access = JsonProperty.Access.WRITE_ONLY)
    private String secondaryKey;

    /*
     * The last updated date and time of the secondary key.
     */
    @JsonProperty(value = "secondaryKeyLastUpdated", access = JsonProperty.Access.WRITE_ONLY)
    private String secondaryKeyLastUpdated;

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

    /**
     * Get the primaryKeyLastUpdated property: The last updated date and time of the primary key.
     *
     * @return the primaryKeyLastUpdated value.
     */
    public String primaryKeyLastUpdated() {
        return this.primaryKeyLastUpdated;
    }

    /**
     * Get the primaryKey property: The primary key for accessing the Maps REST APIs.
     *
     * @return the primaryKey value.
     */
    public String primaryKey() {
        return this.primaryKey;
    }

    /**
     * Get the secondaryKey property: The secondary key for accessing the Maps REST APIs.
     *
     * @return the secondaryKey value.
     */
    public String secondaryKey() {
        return this.secondaryKey;
    }

    /**
     * Get the secondaryKeyLastUpdated property: The last updated date and time of the secondary key.
     *
     * @return the secondaryKeyLastUpdated value.
     */
    public String secondaryKeyLastUpdated() {
        return this.secondaryKeyLastUpdated;
    }

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