Interface ReplicationSpecification.Builder

    • Method Detail

      • replicationStrategy

        ReplicationSpecification.Builder replicationStrategy​(String replicationStrategy)

        The replicationStrategy of a keyspace, the required value is SINGLE_REGION or MULTI_REGION.

        Parameters:
        replicationStrategy - The replicationStrategy of a keyspace, the required value is SINGLE_REGION or MULTI_REGION.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Rs, Rs
      • replicationStrategy

        ReplicationSpecification.Builder replicationStrategy​(Rs replicationStrategy)

        The replicationStrategy of a keyspace, the required value is SINGLE_REGION or MULTI_REGION.

        Parameters:
        replicationStrategy - The replicationStrategy of a keyspace, the required value is SINGLE_REGION or MULTI_REGION.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Rs, Rs
      • regionList

        ReplicationSpecification.Builder regionList​(Collection<String> regionList)

        The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated in.

        Parameters:
        regionList - The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regionList

        ReplicationSpecification.Builder regionList​(String... regionList)

        The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated in.

        Parameters:
        regionList - The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.