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