Interface GetKeyspaceResponse.Builder

  • Method Details

    • keyspaceName

      GetKeyspaceResponse.Builder keyspaceName(String keyspaceName)

      The name of the keyspace.

      Parameters:
      keyspaceName - The name of the keyspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      GetKeyspaceResponse.Builder resourceArn(String resourceArn)

      Returns the ARN of the keyspace.

      Parameters:
      resourceArn - Returns the ARN of the keyspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationStrategy

      GetKeyspaceResponse.Builder replicationStrategy(String replicationStrategy)

      Returns the replication strategy of the keyspace. The options are SINGLE_REGION or MULTI_REGION.

      Parameters:
      replicationStrategy - Returns the replication strategy of the keyspace. The options are SINGLE_REGION or MULTI_REGION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • replicationStrategy

      GetKeyspaceResponse.Builder replicationStrategy(Rs replicationStrategy)

      Returns the replication strategy of the keyspace. The options are SINGLE_REGION or MULTI_REGION.

      Parameters:
      replicationStrategy - Returns the replication strategy of the keyspace. The options are SINGLE_REGION or MULTI_REGION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • replicationRegions

      GetKeyspaceResponse.Builder replicationRegions(Collection<String> replicationRegions)

      If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.

      Parameters:
      replicationRegions - If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationRegions

      GetKeyspaceResponse.Builder replicationRegions(String... replicationRegions)

      If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.

      Parameters:
      replicationRegions - If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.