Interface ScalingParameters.Builder

  • Method Details

    • desiredInstanceType

      ScalingParameters.Builder desiredInstanceType(String desiredInstanceType)

      The instance type that you want to preconfigure for your domain. For example, search.m1.small.

      Parameters:
      desiredInstanceType - The instance type that you want to preconfigure for your domain. For example, search.m1.small.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • desiredInstanceType

      ScalingParameters.Builder desiredInstanceType(PartitionInstanceType desiredInstanceType)

      The instance type that you want to preconfigure for your domain. For example, search.m1.small.

      Parameters:
      desiredInstanceType - The instance type that you want to preconfigure for your domain. For example, search.m1.small.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • desiredReplicationCount

      ScalingParameters.Builder desiredReplicationCount(Integer desiredReplicationCount)

      The number of replicas you want to preconfigure for each index partition.

      Parameters:
      desiredReplicationCount - The number of replicas you want to preconfigure for each index partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • desiredPartitionCount

      ScalingParameters.Builder desiredPartitionCount(Integer desiredPartitionCount)

      The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.

      Parameters:
      desiredPartitionCount - The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.