Class ModelVariantConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ModelVariantConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ModelVariantConfig.Builder,ModelVariantConfig>
@Generated("software.amazon.awssdk:codegen") public final class ModelVariantConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelVariantConfig.Builder,ModelVariantConfig>
Contains information about the deployment options of a model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModelVariantConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelVariantConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
ModelInfrastructureConfig
infrastructureConfig()
The configuration for the infrastructure that the model will be deployed to.String
modelName()
The name of the Amazon SageMaker Model entity.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ModelVariantConfig.Builder>
serializableBuilderClass()
ModelVariantConfig.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
variantName()
The name of the variant.-
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
-
modelName
public final String modelName()
The name of the Amazon SageMaker Model entity.
- Returns:
- The name of the Amazon SageMaker Model entity.
-
variantName
public final String variantName()
The name of the variant.
- Returns:
- The name of the variant.
-
infrastructureConfig
public final ModelInfrastructureConfig infrastructureConfig()
The configuration for the infrastructure that the model will be deployed to.
- Returns:
- The configuration for the infrastructure that the model will be deployed to.
-
toBuilder
public ModelVariantConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModelVariantConfig.Builder,ModelVariantConfig>
-
builder
public static ModelVariantConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelVariantConfig.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
-
-