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 interface
ProductionVariantManagedInstanceScaling.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProductionVariantManagedInstanceScaling.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
maxInstanceCount()
The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.Integer
minInstanceCount()
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()
ManagedInstanceScalingStatus
status()
Indicates whether managed instance scaling is enabled.String
statusAsString()
Indicates whether managed instance scaling is enabled.ProductionVariantManagedInstanceScaling.Builder
toBuilder()
String
toString()
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,
status
will 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,
status
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-