public class DataPlacementRestrictionChangePolicyDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected PlacementRestriction |
newValue |
protected PlacementRestriction |
previousValue |
Constructor and Description |
---|
DataPlacementRestrictionChangePolicyDetails(PlacementRestriction previousValue,
PlacementRestriction newValue)
Set restrictions on data center locations where team data resides.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
PlacementRestriction |
getNewValue()
New placement restriction.
|
PlacementRestriction |
getPreviousValue()
Previous placement restriction.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final PlacementRestriction previousValue
protected final PlacementRestriction newValue
public DataPlacementRestrictionChangePolicyDetails(PlacementRestriction previousValue, PlacementRestriction newValue)
previousValue
- Previous placement restriction. Must not be null
.newValue
- New placement restriction. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PlacementRestriction getPreviousValue()
null
.public PlacementRestriction getNewValue()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.