@Experimental public class RestoreRedundancyRequest extends Object implements ClusterManagementOperation<RestoreRedundancyResults>
| Modifier and Type | Field and Description | 
|---|---|
static String | 
RESTORE_REDUNDANCY_ENDPOINT
see  
getEndpoint() | 
| Constructor and Description | 
|---|
RestoreRedundancyRequest()
By default, requests all partitioned regions to have redundancy restored 
 | 
RestoreRedundancyRequest(RestoreRedundancyRequest other)
Copy constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getEndpoint()
must match the REST controller's RequestMapping 
 | 
List<String> | 
getExcludeRegions()
Returns the list of regions NOT to have redundancy restored (iff  
getIncludeRegions()
 is empty) | 
List<String> | 
getIncludeRegions()
Returns the list of regions to have redundancy restored (or an empty list for
 all-except-excluded) 
 | 
String | 
getOperator()  | 
boolean | 
getReassignPrimaries()  | 
void | 
setExcludeRegions(List<String> excludeRegions)
Excludes specific regions from the restore redundancy, if  
getIncludeRegions() is
 empty,
 otherwise has no effect
 default: no regions are excluded | 
void | 
setIncludeRegions(List<String> includeRegions)
Requests restore redundancy of the specified region(s) only. 
 | 
void | 
setOperator(String operator)  | 
void | 
setReassignPrimaries(boolean reassignPrimaries)  | 
String | 
toString()  | 
public static final String RESTORE_REDUNDANCY_ENDPOINT
getEndpoint()public RestoreRedundancyRequest()
public RestoreRedundancyRequest(RestoreRedundancyRequest other)
other - the RestoreRedundancyRequest to be copiedpublic List<String> getIncludeRegions()
public void setIncludeRegions(List<String> includeRegions)
includeRegions - a list of region names to include in the restore redundancy operationpublic List<String> getExcludeRegions()
getIncludeRegions()
 is empty)getIncludeRegions()
         is emptypublic void setExcludeRegions(List<String> excludeRegions)
getIncludeRegions() is
 empty,
 otherwise has no effect
 default: no regions are excludedexcludeRegions - a list of region names to exclude from the restore redundancy operationpublic void setReassignPrimaries(boolean reassignPrimaries)
public boolean getReassignPrimaries()
public String getEndpoint()
ClusterManagementOperationgetEndpoint in interface ClusterManagementOperation<RestoreRedundancyResults>public String getOperator()
getOperator in interface ClusterManagementOperation<RestoreRedundancyResults>public void setOperator(String operator)