Package com.oracle.bmc.identity.model
Class UIPassword.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.UIPassword.Builder
-
- Enclosing class:
- UIPassword
public static class UIPassword.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UIPassword
build()
UIPassword.Builder
copy(UIPassword model)
UIPassword.Builder
inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.UIPassword.Builder
lifecycleState(UIPassword.LifecycleState lifecycleState)
The password’s current state.UIPassword.Builder
password(String password)
The user’s password for the Console.UIPassword.Builder
timeCreated(Date timeCreated)
Date and time the password was created, in the format defined by RFC3339.UIPassword.Builder
userId(String userId)
The OCID of the user.
-
-
-
Method Detail
-
password
public UIPassword.Builder password(String password)
The user’s password for the Console.- Parameters:
password
- the value to set- Returns:
- this builder
-
userId
public UIPassword.Builder userId(String userId)
The OCID of the user.- Parameters:
userId
- the value to set- Returns:
- this builder
-
timeCreated
public UIPassword.Builder timeCreated(Date timeCreated)
Date and time the password was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public UIPassword.Builder lifecycleState(UIPassword.LifecycleState lifecycleState)
The password’s current state.After creating a password, make sure its lifecycleState changes from CREATING to ACTIVE before using it.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
inactiveStatus
public UIPassword.Builder inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.- Parameters:
inactiveStatus
- the value to set- Returns:
- this builder
-
build
public UIPassword build()
-
copy
public UIPassword.Builder copy(UIPassword model)
-
-