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 interface
DesiredWeightAndCapacity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DesiredWeightAndCapacity.Builder
builder()
Integer
desiredInstanceCount()
The variant's capacity.Float
desiredWeight()
The variant's weight.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends DesiredWeightAndCapacity.Builder>
serializableBuilderClass()
ProductionVariantServerlessUpdateConfig
serverlessUpdateConfig()
Specifies the serverless update concurrency configuration for an endpoint variant.DesiredWeightAndCapacity.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
variantName()
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:
toBuilder
in 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:
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.
-
-