Package com.oracle.bmc.redis.model
Class CreateOciCacheUserDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.redis.model.CreateOciCacheUserDetails.Builder
-
- Enclosing class:
- CreateOciCacheUserDetails
public static class CreateOciCacheUserDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
public CreateOciCacheUserDetails.Builder name(String name)
OCI cache user name is required to connect to an OCI cache cluster.- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public CreateOciCacheUserDetails.Builder description(String description)
Description of OCI cache user.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public CreateOciCacheUserDetails.Builder compartmentId(String compartmentId)
OCI cache user compartment ID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
authenticationMode
public CreateOciCacheUserDetails.Builder authenticationMode(AuthenticationMode authenticationMode)
-
aclString
public CreateOciCacheUserDetails.Builder aclString(String aclString)
ACL string of OCI cache user.- Parameters:
aclString
- the value to set- Returns:
- this builder
-
status
public CreateOciCacheUserDetails.Builder status(OciCacheUser.Status status)
OCI cache user status.ON enables and OFF disables the OCI cache user to login to the associated clusters. Default value is ON.
- Parameters:
status
- the value to set- Returns:
- this builder
-
freeformTags
public CreateOciCacheUserDetails.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 CreateOciCacheUserDetails.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
-
build
public CreateOciCacheUserDetails build()
-
copy
public CreateOciCacheUserDetails.Builder copy(CreateOciCacheUserDetails model)
-
-