Interface ModelConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModelConfiguration.Builder,,ModelConfiguration> SdkBuilder<ModelConfiguration.Builder,,ModelConfiguration> SdkPojo
- Enclosing class:
ModelConfiguration
public static interface ModelConfiguration.Builder
extends SdkPojo, CopyableBuilder<ModelConfiguration.Builder,ModelConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncompilationJobName(String compilationJobName) The name of the compilation job used to create the recommended model artifacts.environmentParameters(Collection<EnvironmentParameter> environmentParameters) Defines the environment parameters that includes key, value types, and values.environmentParameters(Consumer<EnvironmentParameter.Builder>... environmentParameters) Defines the environment parameters that includes key, value types, and values.environmentParameters(EnvironmentParameter... environmentParameters) Defines the environment parameters that includes key, value types, and values.inferenceSpecificationName(String inferenceSpecificationName) The inference specification name in the model package version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
inferenceSpecificationName
The inference specification name in the model package version.
- Parameters:
inferenceSpecificationName- The inference specification name in the model package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentParameters
ModelConfiguration.Builder environmentParameters(Collection<EnvironmentParameter> environmentParameters) Defines the environment parameters that includes key, value types, and values.
- Parameters:
environmentParameters- Defines the environment parameters that includes key, value types, and values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentParameters
Defines the environment parameters that includes key, value types, and values.
- Parameters:
environmentParameters- Defines the environment parameters that includes key, value types, and values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentParameters
ModelConfiguration.Builder environmentParameters(Consumer<EnvironmentParameter.Builder>... environmentParameters) Defines the environment parameters that includes key, value types, and values.
This is a convenience method that creates an instance of theEnvironmentParameter.Builderavoiding the need to create one manually viaEnvironmentParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvironmentParameters(List<EnvironmentParameter>).- Parameters:
environmentParameters- a consumer that will call methods onEnvironmentParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compilationJobName
The name of the compilation job used to create the recommended model artifacts.
- Parameters:
compilationJobName- The name of the compilation job used to create the recommended model artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-