Class ScalingParameters
- java.lang.Object
-
- software.amazon.awssdk.services.cloudsearch.model.ScalingParameters
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScalingParameters.Builder,ScalingParameters>
@Generated("software.amazon.awssdk:codegen") public final class ScalingParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScalingParameters.Builder,ScalingParameters>
The desired instance type and desired number of replicas of each index partition.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScalingParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScalingParameters.Builderbuilder()PartitionInstanceTypedesiredInstanceType()The instance type that you want to preconfigure for your domain.StringdesiredInstanceTypeAsString()The instance type that you want to preconfigure for your domain.IntegerdesiredPartitionCount()The number of partitions you want to preconfigure for your domain.IntegerdesiredReplicationCount()The number of replicas you want to preconfigure for each index partition.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ScalingParameters.Builder>serializableBuilderClass()ScalingParameters.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
desiredInstanceType
public final 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,
desiredInstanceTypewill returnPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdesiredInstanceTypeAsString().- Returns:
- The instance type that you want to preconfigure for your domain. For example,
search.m1.small. - See Also:
PartitionInstanceType
-
desiredInstanceTypeAsString
public final 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,
desiredInstanceTypewill returnPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdesiredInstanceTypeAsString().- Returns:
- The instance type that you want to preconfigure for your domain. For example,
search.m1.small. - See Also:
PartitionInstanceType
-
desiredReplicationCount
public final Integer desiredReplicationCount()
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.
-
desiredPartitionCount
public final Integer desiredPartitionCount()
The number of partitions you want to preconfigure for your domain. Only valid when you select
m2.2xlargeas the desired instance type.- Returns:
- The number of partitions you want to preconfigure for your domain. Only valid when you select
m2.2xlargeas the desired instance type.
-
toBuilder
public ScalingParameters.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScalingParameters.Builder,ScalingParameters>
-
builder
public static ScalingParameters.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScalingParameters.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-