Class RedisClusterSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public RedisClusterSummary.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
      • compartmentId

        public RedisClusterSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the cluster.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public RedisClusterSummary.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, the message might provide actionable information for a resource in FAILED state.

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

        public RedisClusterSummary.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 RedisClusterSummary.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
      • primaryFqdn

        public RedisClusterSummary.Builder primaryFqdn​(String primaryFqdn)
        The fully qualified domain name (FQDN) of the API endpoint for the cluster’s primary node.
        Parameters:
        primaryFqdn - the value to set
        Returns:
        this builder
      • primaryEndpointIpAddress

        public RedisClusterSummary.Builder primaryEndpointIpAddress​(String primaryEndpointIpAddress)
        The private IP address of the API endpoint for the cluster’s primary node.
        Parameters:
        primaryEndpointIpAddress - the value to set
        Returns:
        this builder
      • replicasFqdn

        public RedisClusterSummary.Builder replicasFqdn​(String replicasFqdn)
        The fully qualified domain name (FQDN) of the API endpoint for the cluster’s replica nodes.
        Parameters:
        replicasFqdn - the value to set
        Returns:
        this builder
      • replicasEndpointIpAddress

        public RedisClusterSummary.Builder replicasEndpointIpAddress​(String replicasEndpointIpAddress)
        The private IP address of the API endpoint for the cluster’s replica nodes.
        Parameters:
        replicasEndpointIpAddress - the value to set
        Returns:
        this builder
      • timeCreated

        public RedisClusterSummary.Builder timeCreated​(Date timeCreated)
        The date and time the cluster was created.

        An RFC3339 formatted datetime string.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public RedisClusterSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the cluster was updated.

        An RFC3339 formatted datetime string.

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

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

        Only applicable when clusterMode is SHARDED.

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

        public RedisClusterSummary.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 RedisClusterSummary.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
      • systemTags

        public RedisClusterSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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