Interface ClusterConfiguration.Builder

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

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

    • name

      The name of the cluster

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

      ClusterConfiguration.Builder description(String description)

      The description of the cluster configuration

      Parameters:
      description - The description of the cluster configuration
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeType

      The node type used for the cluster

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

      ClusterConfiguration.Builder engineVersion(String engineVersion)

      The Redis engine version used by the cluster

      Parameters:
      engineVersion - The Redis engine version used by the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maintenanceWindow

      ClusterConfiguration.Builder maintenanceWindow(String maintenanceWindow)

      The specified maintenance window for the cluster

      Parameters:
      maintenanceWindow - The specified maintenance window for the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topicArn

      The Amazon Resource Name (ARN) of the SNS notification topic for the cluster

      Parameters:
      topicArn - The Amazon Resource Name (ARN) of the SNS notification topic for the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The port used by the cluster

      Parameters:
      port - The port used by the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameterGroupName

      ClusterConfiguration.Builder parameterGroupName(String parameterGroupName)

      The name of parameter group used by the cluster

      Parameters:
      parameterGroupName - The name of parameter group used by the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetGroupName

      ClusterConfiguration.Builder subnetGroupName(String subnetGroupName)

      The name of the subnet group used by the cluster

      Parameters:
      subnetGroupName - The name of the subnet group used by the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      The ID of the VPC the cluster belongs to

      Parameters:
      vpcId - The ID of the VPC the cluster belongs to
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotRetentionLimit

      ClusterConfiguration.Builder snapshotRetentionLimit(Integer snapshotRetentionLimit)

      The snapshot retention limit set by the cluster

      Parameters:
      snapshotRetentionLimit - The snapshot retention limit set by the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotWindow

      ClusterConfiguration.Builder snapshotWindow(String snapshotWindow)

      The snapshot window set by the cluster

      Parameters:
      snapshotWindow - The snapshot window set by the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numShards

      ClusterConfiguration.Builder numShards(Integer numShards)

      The number of shards in the cluster

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

      The list of shards in the cluster

      Parameters:
      shards - The list of shards in the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shards

      The list of shards in the cluster

      Parameters:
      shards - The list of shards in the cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shards

      The list of shards in the cluster

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

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

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