RedisRegenerateKeyParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.redis.models.RedisRegenerateKeyParameters

Implements

public final class RedisRegenerateKeyParameters
implements JsonSerializable<RedisRegenerateKeyParameters>

Specifies which Redis access keys to reset.

Constructor Summary

Constructor Description
RedisRegenerateKeyParameters()

Creates an instance of RedisRegenerateKeyParameters class.

Method Summary

Modifier and Type Method and Description
static RedisRegenerateKeyParameters fromJson(JsonReader jsonReader)

Reads an instance of RedisRegenerateKeyParameters from the JsonReader.

RedisKeyType keyType()

Get the keyType property: The Redis access key to regenerate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RedisRegenerateKeyParameters withKeyType(RedisKeyType keyType)

Set the keyType property: The Redis access key to regenerate.

Methods inherited from java.lang.Object

Constructor Details

RedisRegenerateKeyParameters

public RedisRegenerateKeyParameters()

Creates an instance of RedisRegenerateKeyParameters class.

Method Details

fromJson

public static RedisRegenerateKeyParameters fromJson(JsonReader jsonReader)

Reads an instance of RedisRegenerateKeyParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RedisRegenerateKeyParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

keyType

public RedisKeyType keyType()

Get the keyType property: The Redis access key to regenerate.

Returns:

the keyType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withKeyType

public RedisRegenerateKeyParameters withKeyType(RedisKeyType keyType)

Set the keyType property: The Redis access key to regenerate.

Parameters:

keyType - the keyType value to set.

Returns:

the RedisRegenerateKeyParameters object itself.

Applies to

Azure SDK for Java

Latest