public static interface ModelVariantConfig.Builder extends SdkPojo, CopyableBuilder<ModelVariantConfig.Builder,ModelVariantConfig>
| Modifier and Type | Method and Description |
|---|---|
default ModelVariantConfig.Builder |
infrastructureConfig(Consumer<ModelInfrastructureConfig.Builder> infrastructureConfig)
The configuration for the infrastructure that the model will be deployed to.
|
ModelVariantConfig.Builder |
infrastructureConfig(ModelInfrastructureConfig infrastructureConfig)
The configuration for the infrastructure that the model will be deployed to.
|
ModelVariantConfig.Builder |
modelName(String modelName)
The name of the Amazon SageMaker Model entity.
|
ModelVariantConfig.Builder |
variantName(String variantName)
The name of the variant.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildModelVariantConfig.Builder modelName(String modelName)
The name of the Amazon SageMaker Model entity.
modelName - The name of the Amazon SageMaker Model entity.ModelVariantConfig.Builder variantName(String variantName)
The name of the variant.
variantName - The name of the variant.ModelVariantConfig.Builder infrastructureConfig(ModelInfrastructureConfig infrastructureConfig)
The configuration for the infrastructure that the model will be deployed to.
infrastructureConfig - The configuration for the infrastructure that the model will be deployed to.default ModelVariantConfig.Builder infrastructureConfig(Consumer<ModelInfrastructureConfig.Builder> infrastructureConfig)
The configuration for the infrastructure that the model will be deployed to.
This is a convenience method that creates an instance of theModelInfrastructureConfig.Builder
avoiding the need to create one manually via ModelInfrastructureConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to infrastructureConfig(ModelInfrastructureConfig).
infrastructureConfig - a consumer that will call methods on ModelInfrastructureConfig.BuilderinfrastructureConfig(ModelInfrastructureConfig)Copyright © 2022. All rights reserved.