UpdateChannel Class

public final class UpdateChannel
extends ExpandableStringEnum<UpdateChannel>

Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.

Field Summary

Modifier and Type Field and Description
static final UpdateChannel PREVIEW

Static value Preview for UpdateChannel.

static final UpdateChannel STABLE

Static value Stable for UpdateChannel.

Constructor Summary

Constructor Description
UpdateChannel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpdateChannel value.

Method Summary

Modifier and Type Method and Description
static UpdateChannel fromString(String name)

Creates or finds a UpdateChannel from its string representation.

static Collection<UpdateChannel> values()

Gets known UpdateChannel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PREVIEW

public static final UpdateChannel PREVIEW

Static value Preview for UpdateChannel.

STABLE

public static final UpdateChannel STABLE

Static value Stable for UpdateChannel.

Constructor Details

UpdateChannel

@Deprecated
public UpdateChannel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpdateChannel value.

Method Details

fromString

public static UpdateChannel fromString(String name)

Creates or finds a UpdateChannel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UpdateChannel.

values

public static Collection values()

Gets known UpdateChannel values.

Returns:

known UpdateChannel values.

Applies to