Class ProductionVariantManagedInstanceScaling
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ProductionVariantManagedInstanceScaling
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProductionVariantManagedInstanceScaling.Builder,ProductionVariantManagedInstanceScaling>
@Generated("software.amazon.awssdk:codegen") public final class ProductionVariantManagedInstanceScaling extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProductionVariantManagedInstanceScaling.Builder,ProductionVariantManagedInstanceScaling>
Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProductionVariantManagedInstanceScaling.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProductionVariantManagedInstanceScaling.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxInstanceCount()The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.IntegerminInstanceCount()The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProductionVariantManagedInstanceScaling.Builder>serializableBuilderClass()ManagedInstanceScalingStatusstatus()Indicates whether managed instance scaling is enabled.StringstatusAsString()Indicates whether managed instance scaling is enabled.ProductionVariantManagedInstanceScaling.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
-
status
public final ManagedInstanceScalingStatus status()
Indicates whether managed instance scaling is enabled.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnManagedInstanceScalingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Indicates whether managed instance scaling is enabled.
- See Also:
ManagedInstanceScalingStatus
-
statusAsString
public final String statusAsString()
Indicates whether managed instance scaling is enabled.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnManagedInstanceScalingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Indicates whether managed instance scaling is enabled.
- See Also:
ManagedInstanceScalingStatus
-
minInstanceCount
public final Integer minInstanceCount()
The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.
- Returns:
- The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.
-
maxInstanceCount
public final Integer maxInstanceCount()
The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.
- Returns:
- The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.
-
toBuilder
public ProductionVariantManagedInstanceScaling.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProductionVariantManagedInstanceScaling.Builder,ProductionVariantManagedInstanceScaling>
-
builder
public static ProductionVariantManagedInstanceScaling.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProductionVariantManagedInstanceScaling.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-