Package com.oracle.bmc.identity.model
Class MfaTotpDeviceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.MfaTotpDeviceSummary.Builder
-
- Enclosing class:
- MfaTotpDeviceSummary
public static class MfaTotpDeviceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MfaTotpDeviceSummary
build()
MfaTotpDeviceSummary.Builder
copy(MfaTotpDeviceSummary model)
MfaTotpDeviceSummary.Builder
id(String id)
The OCID of the MFA TOTP Device.MfaTotpDeviceSummary.Builder
inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.MfaTotpDeviceSummary.Builder
isActivated(Boolean isActivated)
Flag to indicate if the MFA TOTP device has been activatedMfaTotpDeviceSummary.Builder
lifecycleState(MfaTotpDeviceSummary.LifecycleState lifecycleState)
The MFA TOTP device’s current state.MfaTotpDeviceSummary.Builder
timeCreated(Date timeCreated)
Date and time the MfaTotpDevice object was created, in the format defined by RFC3339.MfaTotpDeviceSummary.Builder
timeExpires(Date timeExpires)
Date and time when this MFA TOTP device will expire, in the format defined by RFC3339.MfaTotpDeviceSummary.Builder
userId(String userId)
The OCID of the user the MFA TOTP device belongs to.
-
-
-
Method Detail
-
id
public MfaTotpDeviceSummary.Builder id(String id)
The OCID of the MFA TOTP Device.- Parameters:
id
- the value to set- Returns:
- this builder
-
userId
public MfaTotpDeviceSummary.Builder userId(String userId)
The OCID of the user the MFA TOTP device belongs to.- Parameters:
userId
- the value to set- Returns:
- this builder
-
timeCreated
public MfaTotpDeviceSummary.Builder timeCreated(Date timeCreated)
Date and time the MfaTotpDevice object was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeExpires
public MfaTotpDeviceSummary.Builder timeExpires(Date timeExpires)
Date and time when this MFA TOTP device will expire, in the format defined by RFC3339.Null if it never expires.
Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeExpires
- the value to set- Returns:
- this builder
-
lifecycleState
public MfaTotpDeviceSummary.Builder lifecycleState(MfaTotpDeviceSummary.LifecycleState lifecycleState)
The MFA TOTP device’s current state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
inactiveStatus
public MfaTotpDeviceSummary.Builder inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.Allowed values are: - 1 - SUSPENDED - 2 - DISABLED - 4 - BLOCKED - 8 - LOCKED
- Parameters:
inactiveStatus
- the value to set- Returns:
- this builder
-
isActivated
public MfaTotpDeviceSummary.Builder isActivated(Boolean isActivated)
Flag to indicate if the MFA TOTP device has been activated- Parameters:
isActivated
- the value to set- Returns:
- this builder
-
build
public MfaTotpDeviceSummary build()
-
copy
public MfaTotpDeviceSummary.Builder copy(MfaTotpDeviceSummary model)
-
-