@Generated(value="software.amazon.awssdk:codegen") public class ScalingParameters extends Object implements ToCopyableBuilder<ScalingParameters.Builder,ScalingParameters>
The desired instance type and desired number of replicas of each index partition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScalingParameters.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ScalingParameters.Builder |
builder() |
PartitionInstanceType |
desiredInstanceType()
The instance type that you want to preconfigure for your domain.
|
String |
desiredInstanceTypeAsString()
The instance type that you want to preconfigure for your domain.
|
Integer |
desiredPartitionCount()
The number of partitions you want to preconfigure for your domain.
|
Integer |
desiredReplicationCount()
The number of replicas you want to preconfigure for each index partition.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends ScalingParameters.Builder> |
serializableBuilderClass() |
ScalingParameters.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic PartitionInstanceType desiredInstanceType()
The instance type that you want to preconfigure for your domain. For example, search.m1.small.
If the service returns an enum value that is not available in the current SDK version,
desiredInstanceType will return PartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from desiredInstanceTypeAsString().
search.m1.small.PartitionInstanceTypepublic String desiredInstanceTypeAsString()
The instance type that you want to preconfigure for your domain. For example, search.m1.small.
If the service returns an enum value that is not available in the current SDK version,
desiredInstanceType will return PartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from desiredInstanceTypeAsString().
search.m1.small.PartitionInstanceTypepublic Integer desiredReplicationCount()
The number of replicas you want to preconfigure for each index partition.
public 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.
m2.2xlarge as the desired instance type.public ScalingParameters.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ScalingParameters.Builder,ScalingParameters>public static ScalingParameters.Builder builder()
public static Class<? extends ScalingParameters.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.