Interface RegionalConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RegionalConfiguration.Builder,RegionalConfiguration>, SdkBuilder<RegionalConfiguration.Builder,RegionalConfiguration>, SdkPojo
Enclosing class:
RegionalConfiguration

public static interface RegionalConfiguration.Builder extends SdkPojo, CopyableBuilder<RegionalConfiguration.Builder,RegionalConfiguration>
  • Method Details

    • replicationGroupId

      RegionalConfiguration.Builder replicationGroupId(String replicationGroupId)

      The name of the secondary cluster

      Parameters:
      replicationGroupId - The name of the secondary cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationGroupRegion

      RegionalConfiguration.Builder replicationGroupRegion(String replicationGroupRegion)

      The Amazon region where the cluster is stored

      Parameters:
      replicationGroupRegion - The Amazon region where the cluster is stored
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reshardingConfiguration

      RegionalConfiguration.Builder reshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)

      A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.

      Parameters:
      reshardingConfiguration - A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reshardingConfiguration

      RegionalConfiguration.Builder reshardingConfiguration(ReshardingConfiguration... reshardingConfiguration)

      A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.

      Parameters:
      reshardingConfiguration - A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reshardingConfiguration

      RegionalConfiguration.Builder reshardingConfiguration(Consumer<ReshardingConfiguration.Builder>... reshardingConfiguration)

      A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.

      This is a convenience method that creates an instance of the ReshardingConfiguration.Builder avoiding the need to create one manually via ReshardingConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to reshardingConfiguration(List<ReshardingConfiguration>).

      Parameters:
      reshardingConfiguration - a consumer that will call methods on ReshardingConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: