Interface CreateMultiRegionClusterRequest.Builder

  • Method Details

    • multiRegionClusterNameSuffix

      CreateMultiRegionClusterRequest.Builder multiRegionClusterNameSuffix(String multiRegionClusterNameSuffix)

      A suffix to be added to the Multi-Region cluster name. Amazon MemoryDB automatically applies a prefix to the Multi-Region cluster Name when it is created. Each Amazon Region has its own prefix. For instance, a Multi-Region cluster Name created in the US-West-1 region will begin with "virxk", along with the suffix name you provide. The suffix guarantees uniqueness of the Multi-Region cluster name across multiple regions.

      Parameters:
      multiRegionClusterNameSuffix - A suffix to be added to the Multi-Region cluster name. Amazon MemoryDB automatically applies a prefix to the Multi-Region cluster Name when it is created. Each Amazon Region has its own prefix. For instance, a Multi-Region cluster Name created in the US-West-1 region will begin with "virxk", along with the suffix name you provide. The suffix guarantees uniqueness of the Multi-Region cluster name across multiple regions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      A description for the multi-Region cluster.

      Parameters:
      description - A description for the multi-Region cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engine

      The name of the engine to be used for the multi-Region cluster.

      Parameters:
      engine - The name of the engine to be used for the multi-Region cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engineVersion

      CreateMultiRegionClusterRequest.Builder engineVersion(String engineVersion)

      The version of the engine to be used for the multi-Region cluster.

      Parameters:
      engineVersion - The version of the engine to be used for the multi-Region cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeType

      The node type to be used for the multi-Region cluster.

      Parameters:
      nodeType - The node type to be used for the multi-Region cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • multiRegionParameterGroupName

      CreateMultiRegionClusterRequest.Builder multiRegionParameterGroupName(String multiRegionParameterGroupName)

      The name of the multi-Region parameter group to be associated with the cluster.

      Parameters:
      multiRegionParameterGroupName - The name of the multi-Region parameter group to be associated with the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numShards

      The number of shards for the multi-Region cluster.

      Parameters:
      numShards - The number of shards for the multi-Region cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tlsEnabled

      Whether to enable TLS encryption for the multi-Region cluster.

      Parameters:
      tlsEnabled - Whether to enable TLS encryption for the multi-Region cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags to be applied to the multi-Region cluster.

      Parameters:
      tags - A list of tags to be applied to the multi-Region cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags to be applied to the multi-Region cluster.

      Parameters:
      tags - A list of tags to be applied to the multi-Region cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags to be applied to the multi-Region cluster.

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

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

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

      CreateMultiRegionClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.