Class ScalingParameters
- All Implemented Interfaces:
Serializable
,Cloneable
The desired instance type and desired number of replicas of each index partition.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The instance type that you want to preconfigure for your domain.The number of partitions you want to preconfigure for your domain.The number of replicas you want to preconfigure for each index partition.int
hashCode()
void
setDesiredInstanceType
(PartitionInstanceType desiredInstanceType) The instance type that you want to preconfigure for your domain.void
setDesiredInstanceType
(String desiredInstanceType) The instance type that you want to preconfigure for your domain.void
setDesiredPartitionCount
(Integer desiredPartitionCount) The number of partitions you want to preconfigure for your domain.void
setDesiredReplicationCount
(Integer desiredReplicationCount) The number of replicas you want to preconfigure for each index partition.toString()
Returns a string representation of this object; useful for testing and debugging.withDesiredInstanceType
(PartitionInstanceType desiredInstanceType) The instance type that you want to preconfigure for your domain.withDesiredInstanceType
(String desiredInstanceType) The instance type that you want to preconfigure for your domain.withDesiredPartitionCount
(Integer desiredPartitionCount) The number of partitions you want to preconfigure for your domain.withDesiredReplicationCount
(Integer desiredReplicationCount) The number of replicas you want to preconfigure for each index partition.
-
Constructor Details
-
ScalingParameters
public ScalingParameters()
-
-
Method Details
-
setDesiredInstanceType
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
.- See Also:
-
getDesiredInstanceType
The instance type that you want to preconfigure for your domain. For example,
search.m1.small
.- Returns:
- The instance type that you want to preconfigure for your domain.
For example,
search.m1.small
. - See Also:
-
withDesiredInstanceType
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:
-
setDesiredInstanceType
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
.- See Also:
-
withDesiredInstanceType
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:
-
setDesiredReplicationCount
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.
-
getDesiredReplicationCount
The number of replicas you want to preconfigure for each index partition.
- Returns:
- The number of replicas you want to preconfigure for each index partition.
-
withDesiredReplicationCount
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.
-
setDesiredPartitionCount
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 selectm2.2xlarge
as the desired instance type.
-
getDesiredPartitionCount
The number of partitions you want to preconfigure for your domain. Only valid when you select
m2.2xlarge
as the desired instance type.- Returns:
- The number of partitions you want to preconfigure for your
domain. Only valid when you select
m2.2xlarge
as the desired instance type.
-
withDesiredPartitionCount
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 selectm2.2xlarge
as the desired instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-