RedisAccessKeysInner Class

  • java.lang.Object
    • com.azure.resourcemanager.redis.fluent.models.RedisAccessKeysInner

Implements

public final class RedisAccessKeysInner
implements JsonSerializable<RedisAccessKeysInner>

Redis cache access keys.

Constructor Summary

Constructor Description
RedisAccessKeysInner()

Creates an instance of RedisAccessKeysInner class.

Method Summary

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

Reads an instance of RedisAccessKeysInner from the JsonReader.

String primaryKey()

Get the primaryKey property: The current primary key that clients can use to authenticate with Redis cache.

String secondaryKey()

Get the secondaryKey property: The current secondary key that clients can use to authenticate with Redis cache.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RedisAccessKeysInner

public RedisAccessKeysInner()

Creates an instance of RedisAccessKeysInner class.

Method Details

fromJson

public static RedisAccessKeysInner fromJson(JsonReader jsonReader)

Reads an instance of RedisAccessKeysInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the RedisAccessKeysInner.

primaryKey

public String primaryKey()

Get the primaryKey property: The current primary key that clients can use to authenticate with Redis cache.

Returns:

the primaryKey value.

secondaryKey

public String secondaryKey()

Get the secondaryKey property: The current secondary key that clients can use to authenticate with Redis cache.

Returns:

the secondaryKey value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to