Class ShadowModelVariantConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ShadowModelVariantConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ShadowModelVariantConfig.Builder,ShadowModelVariantConfig>
@Generated("software.amazon.awssdk:codegen") public final class ShadowModelVariantConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ShadowModelVariantConfig.Builder,ShadowModelVariantConfig>
The name and sampling percentage of a shadow variant.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ShadowModelVariantConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShadowModelVariantConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
samplingPercentage()
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.List<SdkField<?>>
sdkFields()
static Class<? extends ShadowModelVariantConfig.Builder>
serializableBuilderClass()
String
shadowModelVariantName()
The name of the shadow variant.ShadowModelVariantConfig.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
-
shadowModelVariantName
public final String shadowModelVariantName()
The name of the shadow variant.
- Returns:
- The name of the shadow variant.
-
samplingPercentage
public final Integer samplingPercentage()
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
- Returns:
- The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
-
toBuilder
public ShadowModelVariantConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ShadowModelVariantConfig.Builder,ShadowModelVariantConfig>
-
builder
public static ShadowModelVariantConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ShadowModelVariantConfig.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.
-
-