Package com.dropbox.core.v2.teamlog
Class TfaChangeStatusDetails.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.TfaChangeStatusDetails.Builder
 
- 
- Enclosing class:
- TfaChangeStatusDetails
 
 public static class TfaChangeStatusDetails.Builder extends java.lang.ObjectBuilder forTfaChangeStatusDetails.
- 
- 
Field SummaryFields Modifier and Type Field Description protected TfaConfigurationnewValueprotected TfaConfigurationpreviousValueprotected java.lang.BooleanusedRescueCode
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(TfaConfiguration newValue)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TfaChangeStatusDetailsbuild()Builds an instance ofTfaChangeStatusDetailsconfigured with this builder's valuesTfaChangeStatusDetails.BuilderwithPreviousValue(TfaConfiguration previousValue)Set value for optional field.TfaChangeStatusDetails.BuilderwithUsedRescueCode(java.lang.Boolean usedRescueCode)Set value for optional field.
 
- 
- 
- 
Field Detail- 
newValueprotected final TfaConfiguration newValue 
 - 
previousValueprotected TfaConfiguration previousValue 
 - 
usedRescueCodeprotected java.lang.Boolean usedRescueCode 
 
- 
 - 
Constructor Detail- 
Builderprotected Builder(TfaConfiguration newValue) 
 
- 
 - 
Method Detail- 
withPreviousValuepublic TfaChangeStatusDetails.Builder withPreviousValue(TfaConfiguration previousValue) Set value for optional field.- Parameters:
- previousValue- The previous two factor authentication configuration. Might be missing due to historical data gap.
- Returns:
- this builder
 
 - 
withUsedRescueCodepublic TfaChangeStatusDetails.Builder withUsedRescueCode(java.lang.Boolean usedRescueCode) 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
 
 - 
buildpublic TfaChangeStatusDetails build() Builds an instance ofTfaChangeStatusDetailsconfigured with this builder's values- Returns:
- new instance of TfaChangeStatusDetails
 
 
- 
 
-