public static class MfaTotpDeviceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 activated
|
MfaTotpDeviceSummary.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.
|
public MfaTotpDeviceSummary.Builder id(String id)
The OCID of the MFA TOTP Device.
id
- the value to setpublic MfaTotpDeviceSummary.Builder userId(String userId)
The OCID of the user the MFA TOTP device belongs to.
userId
- the value to setpublic 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
timeCreated
- the value to setpublic 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
timeExpires
- the value to setpublic MfaTotpDeviceSummary.Builder lifecycleState(MfaTotpDeviceSummary.LifecycleState lifecycleState)
The MFA TOTP device’s current state.
lifecycleState
- the value to setpublic MfaTotpDeviceSummary.Builder inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState. Allowed values are: - 1 - SUSPENDED - 2 - DISABLED - 4 - BLOCKED - 8 - LOCKED
inactiveStatus
- the value to setpublic MfaTotpDeviceSummary.Builder isActivated(Boolean isActivated)
Flag to indicate if the MFA TOTP device has been activated
isActivated
- the value to setpublic MfaTotpDeviceSummary build()
public MfaTotpDeviceSummary.Builder copy(MfaTotpDeviceSummary model)
Copyright © 2016–2024. All rights reserved.