Package com.oracle.bmc.redis.model
Class OciCacheUser.Builder
- java.lang.Object
-
- com.oracle.bmc.redis.model.OciCacheUser.Builder
-
- Enclosing class:
- OciCacheUser
public static class OciCacheUser.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciCacheUser.Builder
aclString(String aclString)
ACL string of OCI cache user.OciCacheUser.Builder
authenticationMode(AuthenticationMode authenticationMode)
OciCacheUser
build()
OciCacheUser.Builder
compartmentId(String compartmentId)
OCI Cache user compartment ID.OciCacheUser.Builder
copy(OciCacheUser model)
OciCacheUser.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OciCacheUser.Builder
description(String description)
Description of OCI cache user.OciCacheUser.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OciCacheUser.Builder
id(String id)
OCI Cache user unique ID.OciCacheUser.Builder
lifecycleState(OciCacheUser.LifecycleState lifecycleState)
OCI Cache user lifecycle state.OciCacheUser.Builder
name(String name)
OCI Cache user name.OciCacheUser.Builder
status(OciCacheUser.Status status)
OCI Cache user status.OciCacheUser.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.OciCacheUser.Builder
timeCreated(Date timeCreated)
The date and time, when the OCI cache user was created.OciCacheUser.Builder
timeUpdated(Date timeUpdated)
The date and time, when the OCI cache user was updated.
-
-
-
Method Detail
-
id
public OciCacheUser.Builder id(String id)
OCI Cache user unique ID.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public OciCacheUser.Builder name(String name)
OCI Cache user name.- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public OciCacheUser.Builder description(String description)
Description of OCI cache user.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public OciCacheUser.Builder compartmentId(String compartmentId)
OCI Cache user compartment ID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
authenticationMode
public OciCacheUser.Builder authenticationMode(AuthenticationMode authenticationMode)
-
aclString
public OciCacheUser.Builder aclString(String aclString)
ACL string of OCI cache user.- Parameters:
aclString
- the value to set- Returns:
- this builder
-
status
public OciCacheUser.Builder status(OciCacheUser.Status status)
OCI Cache user status.ON enables and OFF disables the OCI cache user to login to the cluster.
- Parameters:
status
- the value to set- Returns:
- this builder
-
lifecycleState
public OciCacheUser.Builder lifecycleState(OciCacheUser.LifecycleState lifecycleState)
OCI Cache user lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public OciCacheUser.Builder timeCreated(Date timeCreated)
The date and time, when the OCI cache user was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public OciCacheUser.Builder timeUpdated(Date timeUpdated)
The date and time, when the OCI cache user was updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public OciCacheUser.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 OciCacheUser.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 OciCacheUser.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 OciCacheUser build()
-
copy
public OciCacheUser.Builder copy(OciCacheUser model)
-
-