public static class CreateUserDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateUserDetails |
build() |
CreateUserDetails.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy containing the user.
|
CreateUserDetails.Builder |
copy(CreateUserDetails model) |
CreateUserDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateUserDetails.Builder |
description(String description)
The description you assign to the user during creation.
|
CreateUserDetails.Builder |
email(String email)
The email you assign to the user during creation.
|
CreateUserDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateUserDetails.Builder |
name(String name)
The name you assign to the user during creation.
|
public CreateUserDetails.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the user.
compartmentId
- the value to setpublic CreateUserDetails.Builder name(String name)
The name you assign to the user during creation. This is the user’s login for the Console. The name must be unique across all users in the tenancy and cannot be changed.
name
- the value to setpublic CreateUserDetails.Builder description(String description)
The description you assign to the user during creation. Does not have to be unique, and it’s changeable.
(For tenancies that support identity domains) You can have an empty description.
description
- the value to setpublic CreateUserDetails.Builder email(String email)
The email you assign to the user during creation. The email must be unique across all users in the tenancy.
(For tenancies that support identity domains) You must provide an email for each user.
email
- the value to setpublic CreateUserDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic CreateUserDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic CreateUserDetails build()
public CreateUserDetails.Builder copy(CreateUserDetails model)
Copyright © 2016–2024. All rights reserved.