Interface ModelVariantConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ModelVariantConfig.Builder,ModelVariantConfig>,SdkBuilder<ModelVariantConfig.Builder,ModelVariantConfig>,SdkPojo
- Enclosing class:
- ModelVariantConfig
@Mutable @NotThreadSafe public static interface ModelVariantConfig.Builder extends SdkPojo, CopyableBuilder<ModelVariantConfig.Builder,ModelVariantConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModelVariantConfig.BuilderinfrastructureConfig(Consumer<ModelInfrastructureConfig.Builder> infrastructureConfig)The configuration for the infrastructure that the model will be deployed to.ModelVariantConfig.BuilderinfrastructureConfig(ModelInfrastructureConfig infrastructureConfig)The configuration for the infrastructure that the model will be deployed to.ModelVariantConfig.BuildermodelName(String modelName)The name of the Amazon SageMaker Model entity.ModelVariantConfig.BuildervariantName(String variantName)The name of the variant.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
modelName
ModelVariantConfig.Builder modelName(String modelName)
The name of the Amazon SageMaker Model entity.
- Parameters:
modelName- The name of the Amazon SageMaker Model entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantName
ModelVariantConfig.Builder variantName(String variantName)
The name of the variant.
- Parameters:
variantName- The name of the variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructureConfig
ModelVariantConfig.Builder infrastructureConfig(ModelInfrastructureConfig infrastructureConfig)
The configuration for the infrastructure that the model will be deployed to.
- Parameters:
infrastructureConfig- The configuration for the infrastructure that the model will be deployed to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructureConfig
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.Builderavoiding the need to create one manually viaModelInfrastructureConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinfrastructureConfig(ModelInfrastructureConfig).- Parameters:
infrastructureConfig- a consumer that will call methods onModelInfrastructureConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
infrastructureConfig(ModelInfrastructureConfig)
-
-