Package com.dropbox.core.v2.teamlog
Class TfaChangeStatusDetails.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.TfaChangeStatusDetails.Builder
- Enclosing class:
TfaChangeStatusDetails
Builder for
TfaChangeStatusDetails.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final TfaConfigurationprotected TfaConfigurationprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofTfaChangeStatusDetailsconfigured with this builder's valueswithPreviousValue(TfaConfiguration previousValue) Set value for optional field.withUsedRescueCode(Boolean usedRescueCode) Set value for optional field.
-
Field Details
-
newValue
-
previousValue
-
usedRescueCode
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withPreviousValue
Set value for optional field.- Parameters:
previousValue- The previous two factor authentication configuration. Might be missing due to historical data gap.- Returns:
- this builder
-
withUsedRescueCode
Set value for optional field.- Parameters:
usedRescueCode- Used two factor authentication rescue code. This flag is relevant when the two factor authentication configuration is disabled.- Returns:
- this builder
-
build
Builds an instance ofTfaChangeStatusDetailsconfigured with this builder's values- Returns:
- new instance of
TfaChangeStatusDetails
-