|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudsearchv2.model.ScalingParameters
public class ScalingParameters
The desired instance type and desired number of replicas of each index partition.
Constructor Summary | |
---|---|
ScalingParameters()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScalingParameters()
Method Detail |
---|
public String getDesiredInstanceType()
search.m1.small
.
Constraints:
Allowed Values: search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge
search.m1.small
.PartitionInstanceType
public void setDesiredInstanceType(String desiredInstanceType)
search.m1.small
.
Constraints:
Allowed Values: search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge
desiredInstanceType
- The instance type that you want to preconfigure for your domain. For
example, search.m1.small
.PartitionInstanceType
public ScalingParameters withDesiredInstanceType(String desiredInstanceType)
search.m1.small
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge
desiredInstanceType
- The instance type that you want to preconfigure for your domain. For
example, search.m1.small
.
PartitionInstanceType
public void setDesiredInstanceType(PartitionInstanceType desiredInstanceType)
search.m1.small
.
Constraints:
Allowed Values: search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge
desiredInstanceType
- The instance type that you want to preconfigure for your domain. For
example, search.m1.small
.PartitionInstanceType
public ScalingParameters withDesiredInstanceType(PartitionInstanceType desiredInstanceType)
search.m1.small
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge
desiredInstanceType
- The instance type that you want to preconfigure for your domain. For
example, search.m1.small
.
PartitionInstanceType
public Integer getDesiredReplicationCount()
Constraints:
Range: 0 -
public void setDesiredReplicationCount(Integer desiredReplicationCount)
Constraints:
Range: 0 -
desiredReplicationCount
- The number of replicas you want to preconfigure for each index
partition.public ScalingParameters withDesiredReplicationCount(Integer desiredReplicationCount)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
desiredReplicationCount
- The number of replicas you want to preconfigure for each index
partition.
public Integer getDesiredPartitionCount()
m2.2xlarge
as the desired
instance type.
Constraints:
Range: 0 -
m2.2xlarge
as the desired
instance type.public void setDesiredPartitionCount(Integer desiredPartitionCount)
m2.2xlarge
as the desired
instance type.
Constraints:
Range: 0 -
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 ScalingParameters withDesiredPartitionCount(Integer desiredPartitionCount)
m2.2xlarge
as the desired
instance type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |