Package com.oracle.bmc.redis.model
Class OciCacheConfigSet.Builder
- java.lang.Object
-
- com.oracle.bmc.redis.model.OciCacheConfigSet.Builder
-
- Enclosing class:
- OciCacheConfigSet
public static class OciCacheConfigSet.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciCacheConfigSet
build()
OciCacheConfigSet.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the OCI Cache Config Set.OciCacheConfigSet.Builder
configurationDetails(ConfigurationDetails configurationDetails)
OciCacheConfigSet.Builder
copy(OciCacheConfigSet model)
OciCacheConfigSet.Builder
defaultConfigSetId(String defaultConfigSetId)
The OCID of the default OCI Cache Config Set which the custom OCI Cache Config Set is based upon.OciCacheConfigSet.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OciCacheConfigSet.Builder
description(String description)
A description of the OCI Cache Config Set.OciCacheConfigSet.Builder
displayName(String displayName)
A user-friendly name.OciCacheConfigSet.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OciCacheConfigSet.Builder
id(String id)
The OCID of the OCI Cache Config Set.OciCacheConfigSet.Builder
lifecycleState(OciCacheConfigSet.LifecycleState lifecycleState)
The current state of the OCI Cache Config Set.OciCacheConfigSet.Builder
softwareVersion(OciCacheConfigSet.SoftwareVersion softwareVersion)
The OCI Cache engine version that the cluster is running.OciCacheConfigSet.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.OciCacheConfigSet.Builder
timeCreated(Date timeCreated)
The date and time the OCI Cache Config Set was created.OciCacheConfigSet.Builder
timeUpdated(Date timeUpdated)
The date and time the OCI Cache Config Set was updated.
-
-
-
Method Detail
-
id
public OciCacheConfigSet.Builder id(String id)
The OCID of the OCI Cache Config Set.- Parameters:
id
- the value to set- Returns:
- this builder
-
defaultConfigSetId
public OciCacheConfigSet.Builder defaultConfigSetId(String defaultConfigSetId)
The OCID of the default OCI Cache Config Set which the custom OCI Cache Config Set is based upon.- Parameters:
defaultConfigSetId
- the value to set- Returns:
- this builder
-
description
public OciCacheConfigSet.Builder description(String description)
A description of the OCI Cache Config Set.- Parameters:
description
- the value to set- Returns:
- this builder
-
displayName
public OciCacheConfigSet.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 OciCacheConfigSet.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the OCI Cache Config Set.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
lifecycleState
public OciCacheConfigSet.Builder lifecycleState(OciCacheConfigSet.LifecycleState lifecycleState)
The current state of the OCI Cache Config Set.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public OciCacheConfigSet.Builder timeCreated(Date timeCreated)
The date and time the OCI Cache Config Set was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public OciCacheConfigSet.Builder timeUpdated(Date timeUpdated)
The date and time the OCI Cache Config Set was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
softwareVersion
public OciCacheConfigSet.Builder softwareVersion(OciCacheConfigSet.SoftwareVersion softwareVersion)
The OCI Cache engine version that the cluster is running.- Parameters:
softwareVersion
- the value to set- Returns:
- this builder
-
configurationDetails
public OciCacheConfigSet.Builder configurationDetails(ConfigurationDetails configurationDetails)
-
freeformTags
public OciCacheConfigSet.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 OciCacheConfigSet.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 OciCacheConfigSet.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 OciCacheConfigSet build()
-
copy
public OciCacheConfigSet.Builder copy(OciCacheConfigSet model)
-
-