Package com.dropbox.core.v2.teamlog
Class DataPlacementRestrictionChangePolicyDetails
java.lang.Object
com.dropbox.core.v2.teamlog.DataPlacementRestrictionChangePolicyDetails
Set restrictions on data center locations where team data resides.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PlacementRestrictionprotected final PlacementRestriction -
Constructor Summary
ConstructorsConstructorDescriptionDataPlacementRestrictionChangePolicyDetails(PlacementRestriction previousValue, PlacementRestriction newValue) Set restrictions on data center locations where team data resides. -
Method Summary
-
Field Details
-
previousValue
-
newValue
-
-
Constructor Details
-
DataPlacementRestrictionChangePolicyDetails
public DataPlacementRestrictionChangePolicyDetails(@Nonnull PlacementRestriction previousValue, @Nonnull PlacementRestriction newValue) Set restrictions on data center locations where team data resides.- Parameters:
previousValue- Previous placement restriction. Must not benull.newValue- New placement restriction. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getPreviousValue
Previous placement restriction.- Returns:
- value for this field, never
null.
-
getNewValue
New placement restriction.- Returns:
- value for this field, never
null.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-