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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OciCacheUser.BuilderaclString(String aclString)ACL string of OCI cache user.OciCacheUser.BuilderauthenticationMode(AuthenticationMode authenticationMode)OciCacheUserbuild()OciCacheUser.BuildercompartmentId(String compartmentId)OCI Cache user compartment ID.OciCacheUser.Buildercopy(OciCacheUser model)OciCacheUser.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OciCacheUser.Builderdescription(String description)Description of OCI cache user.OciCacheUser.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OciCacheUser.Builderid(String id)OCI Cache user unique ID.OciCacheUser.BuilderlifecycleState(OciCacheUser.LifecycleState lifecycleState)OCI Cache user lifecycle state.OciCacheUser.Buildername(String name)OCI Cache user name.OciCacheUser.Builderstatus(OciCacheUser.Status status)OCI Cache user status.OciCacheUser.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.OciCacheUser.BuildertimeCreated(Date timeCreated)The date and time, when the OCI cache user was created.OciCacheUser.BuildertimeUpdated(Date timeUpdated)The date and time, when the OCI cache user was updated.
 
- 
- 
- 
Method Detail- 
idpublic OciCacheUser.Builder id(String id) OCI Cache user unique ID.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic OciCacheUser.Builder name(String name) OCI Cache user name.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic OciCacheUser.Builder description(String description) Description of OCI cache user.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic OciCacheUser.Builder compartmentId(String compartmentId) OCI Cache user compartment ID.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
authenticationModepublic OciCacheUser.Builder authenticationMode(AuthenticationMode authenticationMode) 
 - 
aclStringpublic OciCacheUser.Builder aclString(String aclString) ACL string of OCI cache user.- Parameters:
- aclString- the value to set
- Returns:
- this builder
 
 - 
statuspublic 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
 
 - 
lifecycleStatepublic OciCacheUser.Builder lifecycleState(OciCacheUser.LifecycleState lifecycleState) OCI Cache user lifecycle state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic OciCacheUser build() 
 - 
copypublic OciCacheUser.Builder copy(OciCacheUser model) 
 
- 
 
-