Package akka.javasdk.keyvalueentity
Interface ReplicationFilter.Builder
- Enclosing interface:
ReplicationFilter
@DoNotInherit
public static interface ReplicationFilter.Builder
Create the
Builder with ReplicationFilter.includeRegion or the other factory
methods in ReplicationFilter.
Not for user extension, implementation provided by the SDK.
-
Method Summary
Modifier and TypeMethodDescriptionexcludeRegion(String region) Removes a region from this replication filter.excludeRegions(Set<String> regions) Removes multiple regions from this replication filter.includeRegion(String region) Adds a region to this replication filter.includeRegions(Set<String> regions) Adds multiple regions to this replication filter.
-
Method Details
-
includeRegion
Adds a region to this replication filter. The change is additive to any previously included regions.- Parameters:
region- the region to add- Returns:
- a new replication filter with the region added
-
includeRegions
Adds multiple regions to this replication filter. The changes are additive to any previously included regions.- Parameters:
regions- the regions to add- Returns:
- a new replication filter with the regions added
-
excludeRegion
Removes a region from this replication filter.- Parameters:
region- the region to remove- Returns:
- a new replication filter with the region removed
-
excludeRegions
Removes multiple regions from this replication filter.- Parameters:
regions- the regions to remove- Returns:
- a new replication filter with the regions removed
-