com.microsoft.azure.management.redis.RedisRegenerateKeyParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-redis Show documentation
Show all versions of azure-mgmt-redis Show documentation
This package contains Microsoft Azure Redis Cache SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.redis;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Specifies which Redis access keys to reset.
*/
public class RedisRegenerateKeyParameters {
/**
* The Redis access key to regenerate. Possible values include: 'Primary',
* 'Secondary'.
*/
@JsonProperty(value = "keyType", required = true)
private RedisKeyType keyType;
/**
* Get the keyType value.
*
* @return the keyType value
*/
public RedisKeyType keyType() {
return this.keyType;
}
/**
* Set the keyType value.
*
* @param keyType the keyType value to set
* @return the RedisRegenerateKeyParameters object itself.
*/
public RedisRegenerateKeyParameters withKeyType(RedisKeyType keyType) {
this.keyType = keyType;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy