public static class TfaChangeStatusDetails.Builder
extends java.lang.Object
TfaChangeStatusDetails.| Modifier and Type | Field and Description |
|---|---|
protected TfaConfiguration |
newValue |
protected TfaConfiguration |
previousValue |
protected java.lang.Boolean |
usedRescueCode |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(TfaConfiguration newValue) |
| Modifier and Type | Method and Description |
|---|---|
TfaChangeStatusDetails |
build()
Builds an instance of
TfaChangeStatusDetails configured with
this builder's values |
TfaChangeStatusDetails.Builder |
withPreviousValue(TfaConfiguration previousValue)
Set value for optional field.
|
TfaChangeStatusDetails.Builder |
withUsedRescueCode(java.lang.Boolean usedRescueCode)
Set value for optional field.
|
protected final TfaConfiguration newValue
protected TfaConfiguration previousValue
protected java.lang.Boolean usedRescueCode
protected Builder(TfaConfiguration newValue)
public TfaChangeStatusDetails.Builder withPreviousValue(TfaConfiguration previousValue)
previousValue - The previous two factor authentication
configuration. Might be missing due to historical data gap.public TfaChangeStatusDetails.Builder withUsedRescueCode(java.lang.Boolean usedRescueCode)
usedRescueCode - Used two factor authentication rescue code.
This flag is relevant when the two factor authentication
configuration is disabled.public TfaChangeStatusDetails build()
TfaChangeStatusDetails configured with
this builder's valuesTfaChangeStatusDetails