Class UpdateRedisClusterDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • ociCacheConfigSetId

        public UpdateRedisClusterDetails.Builder ociCacheConfigSetId​(String ociCacheConfigSetId)
        The ID of the corresponding OCI Cache Config Set for the cluster.
        Parameters:
        ociCacheConfigSetId - the value to set
        Returns:
        this builder
      • shardCount

        public UpdateRedisClusterDetails.Builder shardCount​(Integer shardCount)
        The number of shards in sharded cluster.

        Only applicable when clusterMode is SHARDED.

        Parameters:
        shardCount - the value to set
        Returns:
        this builder
      • displayName

        public UpdateRedisClusterDetails.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • nodeCount

        public UpdateRedisClusterDetails.Builder nodeCount​(Integer nodeCount)
        The number of nodes per shard in the cluster when clusterMode is SHARDED.

        This is the total number of nodes when clusterMode is NONSHARDED.

        Parameters:
        nodeCount - the value to set
        Returns:
        this builder
      • nodeMemoryInGBs

        public UpdateRedisClusterDetails.Builder nodeMemoryInGBs​(Float nodeMemoryInGBs)
        The amount of memory allocated to the cluster’s nodes, in gigabytes.
        Parameters:
        nodeMemoryInGBs - the value to set
        Returns:
        this builder
      • securityAttributes

        public UpdateRedisClusterDetails.Builder securityAttributes​(Map<String,​Map<String,​Object>> securityAttributes)
        Security attributes for redis cluster resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}

        Parameters:
        securityAttributes - the value to set
        Returns:
        this builder
      • freeformTags

        public UpdateRedisClusterDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public UpdateRedisClusterDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder