All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.redis.implementation.RedisAccessKeysImpl Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 */

package com.microsoft.azure.management.redis.implementation;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.redis.RedisAccessKeys;
import com.microsoft.azure.management.redis.RedisCache;

/**
 * The {@link RedisCache#keys} action result.
 */
@LangDefinition
class RedisAccessKeysImpl implements RedisAccessKeys {
    private RedisAccessKeysInner inner;

    /**
     * Creates an instance of the Redis Access keys result object.
     *
     * @param inner the inner object
     */
    RedisAccessKeysImpl(RedisAccessKeysInner inner) {
        this.inner = inner;
    }

    /**
     * @return a pri,ary key value.
     */
    public String primaryKey() {
        return inner.primaryKey();
    }

    /**
     * @return a secondary key value.
     */
    public String secondaryKey() {
        return inner.secondaryKey();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy