com.amazonaws.services.cloudsearchv2.model
Class ScalingParameters

java.lang.Object
  extended by com.amazonaws.services.cloudsearchv2.model.ScalingParameters
All Implemented Interfaces:
Serializable

public class ScalingParameters
extends Object
implements Serializable

The desired instance type and desired number of replicas of each index partition.

See Also:
Serialized Form

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

ScalingParameters

public ScalingParameters()
Method Detail

getDesiredInstanceType

public String getDesiredInstanceType()
The instance type that you want to preconfigure for your domain. For example, search.m1.small.

Constraints:
Allowed Values: search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge

Returns:
The instance type that you want to preconfigure for your domain. For example, search.m1.small.
See Also:
PartitionInstanceType

setDesiredInstanceType

public void setDesiredInstanceType(String desiredInstanceType)
The instance type that you want to preconfigure for your domain. For example, search.m1.small.

Constraints:
Allowed Values: search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge

Parameters:
desiredInstanceType - The instance type that you want to preconfigure for your domain. For example, search.m1.small.
See Also:
PartitionInstanceType

withDesiredInstanceType

public ScalingParameters withDesiredInstanceType(String desiredInstanceType)
The instance type that you want to preconfigure for your domain. For example, 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

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

setDesiredInstanceType

public void setDesiredInstanceType(PartitionInstanceType desiredInstanceType)
The instance type that you want to preconfigure for your domain. For example, search.m1.small.

Constraints:
Allowed Values: search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge

Parameters:
desiredInstanceType - The instance type that you want to preconfigure for your domain. For example, search.m1.small.
See Also:
PartitionInstanceType

withDesiredInstanceType

public ScalingParameters withDesiredInstanceType(PartitionInstanceType desiredInstanceType)
The instance type that you want to preconfigure for your domain. For example, 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

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

getDesiredReplicationCount

public Integer getDesiredReplicationCount()
The number of replicas you want to preconfigure for each index partition.

Constraints:
Range: 0 -

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

setDesiredReplicationCount

public void setDesiredReplicationCount(Integer desiredReplicationCount)
The number of replicas you want to preconfigure for each index partition.

Constraints:
Range: 0 -

Parameters:
desiredReplicationCount - The number of replicas you want to preconfigure for each index partition.

withDesiredReplicationCount

public ScalingParameters withDesiredReplicationCount(Integer desiredReplicationCount)
The number of replicas you want to preconfigure for each index partition.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 -

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

getDesiredPartitionCount

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.

Constraints:
Range: 0 -

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

setDesiredPartitionCount

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.

Constraints:
Range: 0 -

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.

withDesiredPartitionCount

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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 -

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:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.