Class DesiredWeightAndCapacity
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.DesiredWeightAndCapacity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity>
@Generated("software.amazon.awssdk:codegen") public final class DesiredWeightAndCapacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity>
Specifies weight and capacity values for a production variant.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDesiredWeightAndCapacity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DesiredWeightAndCapacity.Builderbuilder()IntegerdesiredInstanceCount()The variant's capacity.FloatdesiredWeight()The variant's weight.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DesiredWeightAndCapacity.Builder>serializableBuilderClass()ProductionVariantServerlessUpdateConfigserverlessUpdateConfig()Specifies the serverless update concurrency configuration for an endpoint variant.DesiredWeightAndCapacity.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvariantName()The name of the variant to update.-
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
-
variantName
public final String variantName()
The name of the variant to update.
- Returns:
- The name of the variant to update.
-
desiredWeight
public final Float desiredWeight()
The variant's weight.
- Returns:
- The variant's weight.
-
desiredInstanceCount
public final Integer desiredInstanceCount()
The variant's capacity.
- Returns:
- The variant's capacity.
-
serverlessUpdateConfig
public final ProductionVariantServerlessUpdateConfig serverlessUpdateConfig()
Specifies the serverless update concurrency configuration for an endpoint variant.
- Returns:
- Specifies the serverless update concurrency configuration for an endpoint variant.
-
toBuilder
public DesiredWeightAndCapacity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity>
-
builder
public static DesiredWeightAndCapacity.Builder builder()
-
serializableBuilderClass
public static Class<? extends DesiredWeightAndCapacity.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.
-
-