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 Details

    • includeRegion

      ReplicationFilter.Builder includeRegion(String region)
      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

      ReplicationFilter.Builder includeRegions(Set<String> regions)
      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

      ReplicationFilter.Builder excludeRegion(String region)
      Removes a region from this replication filter.
      Parameters:
      region - the region to remove
      Returns:
      a new replication filter with the region removed
    • excludeRegions

      ReplicationFilter.Builder excludeRegions(Set<String> regions)
      Removes multiple regions from this replication filter.
      Parameters:
      regions - the regions to remove
      Returns:
      a new replication filter with the regions removed