Class ClusterProperties


  • public final class ClusterProperties
    extends Object
    RedisEnterprise cluster properties Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags.
    • Constructor Detail

      • ClusterProperties

        public ClusterProperties()
    • Method Detail

      • minimumTlsVersion

        public TlsVersion minimumTlsVersion()
        Get the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.
        Returns:
        the minimumTlsVersion value.
      • withMinimumTlsVersion

        public ClusterProperties withMinimumTlsVersion​(TlsVersion minimumTlsVersion)
        Set the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.
        Parameters:
        minimumTlsVersion - the minimumTlsVersion value to set.
        Returns:
        the ClusterProperties object itself.
      • hostname

        public String hostname()
        Get the hostname property: DNS name of the cluster endpoint.
        Returns:
        the hostname value.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: Current provisioning status of the cluster.
        Returns:
        the provisioningState value.
      • resourceState

        public ResourceState resourceState()
        Get the resourceState property: Current resource status of the cluster.
        Returns:
        the resourceState value.
      • redisVersion

        public String redisVersion()
        Get the redisVersion property: Version of redis the cluster supports, e.g. '6'.
        Returns:
        the redisVersion value.
      • privateEndpointConnections

        public List<PrivateEndpointConnectionInner> privateEndpointConnections()
        Get the privateEndpointConnections property: List of private endpoint connections associated with the specified RedisEnterprise cluster.
        Returns:
        the privateEndpointConnections value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.