ClusteringPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. redisenterprise. models. ClusteringPolicy
- com.
- com.
public final class ClusteringPolicy
extends ExpandableStringEnum<ClusteringPolicy>
Clustering policy - default is OSSCluster. This property can be updated only if the current value is NoCluster. If the value is OSSCluster or EnterpriseCluster, it cannot be updated without deleting the database.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Clustering |
ENTERPRISE_CLUSTER
Static value Enterprise |
|
static final
Clustering |
NO_CLUSTER
Static value No |
|
static final
Clustering |
OSSCLUSTER
Static value OSSCluster for Clustering |
Constructor Summary
| Constructor | Description |
|---|---|
| ClusteringPolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Clustering |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Clustering |
fromString(String name)
Creates or finds a Clustering |
|
static
Collection<Clustering |
values()
Gets known Clustering |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ENTERPRISE_CLUSTER
public static final ClusteringPolicy ENTERPRISE_CLUSTER
Static value EnterpriseCluster for ClusteringPolicy.
NO_CLUSTER
public static final ClusteringPolicy NO_CLUSTER
Static value NoCluster for ClusteringPolicy.
OSSCLUSTER
public static final ClusteringPolicy OSSCLUSTER
Static value OSSCluster for ClusteringPolicy.
Constructor Details
ClusteringPolicy
@Deprecated
public ClusteringPolicy()
Deprecated
Creates a new instance of ClusteringPolicy value.
Method Details
fromString
public static ClusteringPolicy fromString(String name)
Creates or finds a ClusteringPolicy from its string representation.
Parameters:
Returns:
values
public static Collection<ClusteringPolicy> values()
Gets known ClusteringPolicy values.
Returns: