Package com.dropbox.core.v2.teamlog
Class AppPermissionsChangedDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.AppPermissionsChangedDetails.Builder
-
- Enclosing class:
- AppPermissionsChangedDetails
public static class AppPermissionsChangedDetails.Builder extends java.lang.Object
Builder forAppPermissionsChangedDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
appName
protected AdminConsoleAppPolicy
newValue
protected AdminConsoleAppPermission
permission
protected AdminConsoleAppPolicy
previousValue
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(AdminConsoleAppPolicy previousValue, AdminConsoleAppPolicy newValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppPermissionsChangedDetails
build()
Builds an instance ofAppPermissionsChangedDetails
configured with this builder's valuesAppPermissionsChangedDetails.Builder
withAppName(java.lang.String appName)
Set value for optional field.AppPermissionsChangedDetails.Builder
withPermission(AdminConsoleAppPermission permission)
Set value for optional field.
-
-
-
Field Detail
-
previousValue
protected final AdminConsoleAppPolicy previousValue
-
newValue
protected final AdminConsoleAppPolicy newValue
-
appName
protected java.lang.String appName
-
permission
protected AdminConsoleAppPermission permission
-
-
Constructor Detail
-
Builder
protected Builder(AdminConsoleAppPolicy previousValue, AdminConsoleAppPolicy newValue)
-
-
Method Detail
-
withAppName
public AppPermissionsChangedDetails.Builder withAppName(java.lang.String appName)
Set value for optional field.- Parameters:
appName
- Name of the app.- Returns:
- this builder
-
withPermission
public AppPermissionsChangedDetails.Builder withPermission(AdminConsoleAppPermission permission)
Set value for optional field.- Parameters:
permission
- Permission that was changed.- Returns:
- this builder
-
build
public AppPermissionsChangedDetails build()
Builds an instance ofAppPermissionsChangedDetails
configured with this builder's values- Returns:
- new instance of
AppPermissionsChangedDetails
-
-