Package com.oracle.bmc.cims.model
Class User.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.model.User.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
build()
User.Builder
compartmentId(String compartmentId)
The OCID of the tenancy.User.Builder
contactEmail(String contactEmail)
The email of the contact person.User.Builder
copy(User model)
User.Builder
country(String country)
The country of the user.User.Builder
csi(String csi)
The CSI associated with the user.User.Builder
firstName(String firstName)
The user’s first name.User.Builder
key(String key)
A unique identifier for the user.User.Builder
lastName(String lastName)
The user’s last name.User.Builder
organizationName(String organizationName)
The company that the user belongs to.User.Builder
phone(String phone)
The user’s contact phone number.User.Builder
problemType(ProblemType problemType)
The kind of support ticket (type of support request).User.Builder
timezone(String timezone)
The timezone of the user.
-
-
-
Method Detail
-
key
public User.Builder key(String key)
A unique identifier for the user.- Parameters:
key
- the value to set- Returns:
- this builder
-
firstName
public User.Builder firstName(String firstName)
The user’s first name.- Parameters:
firstName
- the value to set- Returns:
- this builder
-
lastName
public User.Builder lastName(String lastName)
The user’s last name.- Parameters:
lastName
- the value to set- Returns:
- this builder
-
country
public User.Builder country(String country)
The country of the user.- Parameters:
country
- the value to set- Returns:
- this builder
-
csi
public User.Builder csi(String csi)
The CSI associated with the user.- Parameters:
csi
- the value to set- Returns:
- this builder
-
phone
public User.Builder phone(String phone)
The user’s contact phone number.- Parameters:
phone
- the value to set- Returns:
- this builder
-
timezone
public User.Builder timezone(String timezone)
The timezone of the user.- Parameters:
timezone
- the value to set- Returns:
- this builder
-
organizationName
public User.Builder organizationName(String organizationName)
The company that the user belongs to.- Parameters:
organizationName
- the value to set- Returns:
- this builder
-
compartmentId
public User.Builder compartmentId(String compartmentId)
The OCID of the tenancy.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
contactEmail
public User.Builder contactEmail(String contactEmail)
The email of the contact person.- Parameters:
contactEmail
- the value to set- Returns:
- this builder
-
problemType
public User.Builder problemType(ProblemType problemType)
The kind of support ticket (type of support request).For information about ACCOUNT support tickets, see Creating a Billing Support Request. For information about LIMIT support tickets, see Creating a Service Limit Increase Request. For information about TECH support tickets, see Creating a Technical Support Request.
- Parameters:
problemType
- the value to set- Returns:
- this builder
-
build
public User build()
-
copy
public User.Builder copy(User model)
-
-