Class RedisClusterSummary.Builder
- java.lang.Object
 - 
- com.oracle.bmc.redis.model.RedisClusterSummary.Builder
 
 
- 
- Enclosing class:
 - RedisClusterSummary
 
public static class RedisClusterSummary.Builder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedisClusterSummarybuild()RedisClusterSummary.BuilderclusterMode(RedisCluster.ClusterMode clusterMode)Specifies whether the cluster is sharded or non-sharded.RedisClusterSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the cluster.RedisClusterSummary.Buildercopy(RedisClusterSummary model)RedisClusterSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.RedisClusterSummary.BuilderdiscoveryEndpointIpAddress(String discoveryEndpointIpAddress)The private IP address of the API endpoint for shareded cluster discovery.RedisClusterSummary.BuilderdiscoveryFqdn(String discoveryFqdn)The fully qualified domain name (FQDN) of the API endpoint for sharded cluster discovery.RedisClusterSummary.BuilderdisplayName(String displayName)A user-friendly name.RedisClusterSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.RedisClusterSummary.Builderid(String id)The OCID of the cluster.RedisClusterSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.RedisClusterSummary.BuilderlifecycleState(RedisCluster.LifecycleState lifecycleState)The current state of the cluster.RedisClusterSummary.BuildernodeCount(Integer nodeCount)The number of nodes per shard in the cluster when clusterMode is SHARDED.RedisClusterSummary.BuildernodeMemoryInGBs(Float nodeMemoryInGBs)The amount of memory allocated to the cluster’s nodes, in gigabytes.RedisClusterSummary.BuildernsgIds(List<String> nsgIds)A list of Network Security Group (NSG) OCIDs associated with this cluster.RedisClusterSummary.BuilderociCacheConfigSetId(String ociCacheConfigSetId)The ID of the corresponding OCI Cache Config Set for the cluster.RedisClusterSummary.BuilderprimaryEndpointIpAddress(String primaryEndpointIpAddress)The private IP address of the API endpoint for the cluster’s primary node.RedisClusterSummary.BuilderprimaryFqdn(String primaryFqdn)The fully qualified domain name (FQDN) of the API endpoint for the cluster’s primary node.RedisClusterSummary.BuilderreplicasEndpointIpAddress(String replicasEndpointIpAddress)The private IP address of the API endpoint for the cluster’s replica nodes.RedisClusterSummary.BuilderreplicasFqdn(String replicasFqdn)The fully qualified domain name (FQDN) of the API endpoint for the cluster’s replica nodes.RedisClusterSummary.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security attributes for redis cluster resource.RedisClusterSummary.BuildershardCount(Integer shardCount)The number of shards in a sharded cluster.RedisClusterSummary.BuildersoftwareVersion(RedisCluster.SoftwareVersion softwareVersion)The OCI Cache engine version that the cluster is running.RedisClusterSummary.BuildersubnetId(String subnetId)The OCID of the cluster’s subnet.RedisClusterSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.RedisClusterSummary.BuildertimeCreated(Date timeCreated)The date and time the cluster was created.RedisClusterSummary.BuildertimeUpdated(Date timeUpdated)The date and time the cluster was updated. 
 - 
 
- 
- 
Method Detail
- 
id
public RedisClusterSummary.Builder id(String id)
The OCID of the cluster.- Parameters:
 id- the value to set- Returns:
 - this builder
 
 
- 
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
 
 
- 
lifecycleState
public RedisClusterSummary.Builder lifecycleState(RedisCluster.LifecycleState lifecycleState)
The current state of the cluster.- Parameters:
 lifecycleState- 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
 
 
- 
discoveryFqdn
public RedisClusterSummary.Builder discoveryFqdn(String discoveryFqdn)
The fully qualified domain name (FQDN) of the API endpoint for sharded cluster discovery.- Parameters:
 discoveryFqdn- the value to set- Returns:
 - this builder
 
 
- 
discoveryEndpointIpAddress
public RedisClusterSummary.Builder discoveryEndpointIpAddress(String discoveryEndpointIpAddress)
The private IP address of the API endpoint for shareded cluster discovery.- Parameters:
 discoveryEndpointIpAddress- the value to set- Returns:
 - this builder
 
 
- 
softwareVersion
public RedisClusterSummary.Builder softwareVersion(RedisCluster.SoftwareVersion softwareVersion)
The OCI Cache engine version that the cluster is running.- Parameters:
 softwareVersion- the value to set- Returns:
 - this builder
 
 
- 
subnetId
public RedisClusterSummary.Builder subnetId(String subnetId)
The OCID of the cluster’s subnet.- Parameters:
 subnetId- 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
 
 
- 
ociCacheConfigSetId
public RedisClusterSummary.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
 
 
- 
clusterMode
public RedisClusterSummary.Builder clusterMode(RedisCluster.ClusterMode clusterMode)
Specifies whether the cluster is sharded or non-sharded.- Parameters:
 clusterMode- 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
 
 
- 
nsgIds
public RedisClusterSummary.Builder nsgIds(List<String> nsgIds)
A list of Network Security Group (NSG) OCIDs associated with this cluster.For more information, see Using an NSG for Clusters.
- Parameters:
 nsgIds- the value to set- Returns:
 - this builder
 
 
- 
securityAttributes
public RedisClusterSummary.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 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
 
 
- 
build
public RedisClusterSummary build()
 
- 
copy
public RedisClusterSummary.Builder copy(RedisClusterSummary model)
 
 - 
 
 -