Package com.oracle.bmc.redis.model
Class OciCacheUserSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.redis.model.OciCacheUserSummary.Builder
-
- Enclosing class:
- OciCacheUserSummary
public static class OciCacheUserSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public OciCacheUserSummary.Builder id(String id)
OCI Cache user unique ID.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public OciCacheUserSummary.Builder name(String name)
OCI Cache user name.- Parameters:
name
- the value to set- Returns:
- this builder
-
compartmentId
public OciCacheUserSummary.Builder compartmentId(String compartmentId)
OCI Cache user compartment ID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
authenticationType
public OciCacheUserSummary.Builder authenticationType(AuthenticationMode.AuthenticationType authenticationType)
OCI Cache user authentication type.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
status
public OciCacheUserSummary.Builder status(OciCacheUser.Status status)
OCI Cache user status.ON enables and OFF disables the OCI cache user to use the cluster.
- Parameters:
status
- the value to set- Returns:
- this builder
-
lifecycleState
public OciCacheUserSummary.Builder lifecycleState(OciCacheUser.LifecycleState lifecycleState)
OCI Cache user lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public OciCacheUserSummary.Builder timeCreated(Date timeCreated)
The date and time, when the OCI cache user was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
description
public OciCacheUserSummary.Builder description(String description)
Description of OCI cache user.- Parameters:
description
- the value to set- Returns:
- this builder
-
freeformTags
public OciCacheUserSummary.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 OciCacheUserSummary.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 OciCacheUserSummary.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 OciCacheUserSummary build()
-
copy
public OciCacheUserSummary.Builder copy(OciCacheUserSummary model)
-
-