Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* 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 RedisCache.keys
action result. /**
* The {@link RedisCache#keys} action result.
*/
@LangDefinition
class RedisAccessKeysImpl implements RedisAccessKeys {
private RedisAccessKeysInner inner;
Creates an instance of the Redis Access keys result object.
Params: - inner – the inner object
/**
* Creates an instance of the Redis Access keys result object.
*
* @param inner the inner object
*/
RedisAccessKeysImpl(RedisAccessKeysInner inner) {
this.inner = inner;
}
Returns: a pri,ary key value.
/**
* @return a pri,ary key value.
*/
public String primaryKey() {
return inner.primaryKey();
}
Returns: a secondary key value.
/**
* @return a secondary key value.
*/
public String secondaryKey() {
return inner.secondaryKey();
}
}