@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScalingParameters extends Object implements Serializable, Cloneable
The desired instance type and desired number of replicas of each index partition.
Constructor and Description |
---|
ScalingParameters() |
Modifier and Type | Method and Description |
---|---|
ScalingParameters |
clone() |
boolean |
equals(Object obj) |
String |
getDesiredInstanceType()
The instance type that you want to preconfigure for your domain.
|
Integer |
getDesiredPartitionCount()
The number of partitions you want to preconfigure for your domain.
|
Integer |
getDesiredReplicationCount()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ScalingParameters |
withDesiredInstanceType(PartitionInstanceType desiredInstanceType)
The instance type that you want to preconfigure for your domain.
|
ScalingParameters |
withDesiredInstanceType(String desiredInstanceType)
The instance type that you want to preconfigure for your domain.
|
ScalingParameters |
withDesiredPartitionCount(Integer desiredPartitionCount)
The number of partitions you want to preconfigure for your domain.
|
ScalingParameters |
withDesiredReplicationCount(Integer desiredReplicationCount)
The number of replicas you want to preconfigure for each index partition.
|
public void setDesiredInstanceType(String desiredInstanceType)
The instance type that you want to preconfigure for your domain. For example, search.m1.small
.
desiredInstanceType
- The instance type that you want to preconfigure for your domain. For example, search.m1.small
.PartitionInstanceType
public String getDesiredInstanceType()
The instance type that you want to preconfigure for your domain. For example, search.m1.small
.
search.m1.small
.PartitionInstanceType
public ScalingParameters withDesiredInstanceType(String desiredInstanceType)
The instance type that you want to preconfigure for your domain. For example, search.m1.small
.
desiredInstanceType
- The instance type that you want to preconfigure for your domain. For example, search.m1.small
.PartitionInstanceType
public void setDesiredInstanceType(PartitionInstanceType desiredInstanceType)
The instance type that you want to preconfigure for your domain. For example, search.m1.small
.
desiredInstanceType
- The instance type that you want to preconfigure for your domain. For example, search.m1.small
.PartitionInstanceType
public ScalingParameters withDesiredInstanceType(PartitionInstanceType desiredInstanceType)
The instance type that you want to preconfigure for your domain. For example, search.m1.small
.
desiredInstanceType
- The instance type that you want to preconfigure for your domain. For example, search.m1.small
.PartitionInstanceType
public void setDesiredReplicationCount(Integer desiredReplicationCount)
The number of replicas you want to preconfigure for each index partition.
desiredReplicationCount
- The number of replicas you want to preconfigure for each index partition.public Integer getDesiredReplicationCount()
The number of replicas you want to preconfigure for each index partition.
public ScalingParameters withDesiredReplicationCount(Integer desiredReplicationCount)
The number of replicas you want to preconfigure for each index partition.
desiredReplicationCount
- The number of replicas you want to preconfigure for each index partition.public void setDesiredPartitionCount(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.
desiredPartitionCount
- The number of partitions you want to preconfigure for your domain. Only valid when you select
m2.2xlarge
as the desired instance type.public Integer getDesiredPartitionCount()
The number of partitions you want to preconfigure for your domain. Only valid when you select
m2.2xlarge
as the desired instance type.
m2.2xlarge
as the desired instance type.public ScalingParameters withDesiredPartitionCount(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.
desiredPartitionCount
- The number of partitions you want to preconfigure for your domain. Only valid when you select
m2.2xlarge
as the desired instance type.public String toString()
toString
in class Object
Object.toString()
public ScalingParameters clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.