Package com.oracle.bmc.identity.model
Class UIPasswordInformation.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.UIPasswordInformation.Builder
-
- Enclosing class:
- UIPasswordInformation
public static class UIPasswordInformation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UIPasswordInformation
build()
UIPasswordInformation.Builder
copy(UIPasswordInformation model)
UIPasswordInformation.Builder
lifecycleState(UIPasswordInformation.LifecycleState lifecycleState)
The password’s current state.UIPasswordInformation.Builder
timeCreated(Date timeCreated)
Date and time the password was created, in the format defined by RFC3339.UIPasswordInformation.Builder
userId(String userId)
The OCID of the user.
-
-
-
Method Detail
-
userId
public UIPasswordInformation.Builder userId(String userId)
The OCID of the user.- Parameters:
userId
- the value to set- Returns:
- this builder
-
timeCreated
public UIPasswordInformation.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 UIPasswordInformation.Builder lifecycleState(UIPasswordInformation.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
-
build
public UIPasswordInformation build()
-
copy
public UIPasswordInformation.Builder copy(UIPasswordInformation model)
-
-