Interface UpdateInferenceComponentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateInferenceComponentRequest.Builder,,UpdateInferenceComponentRequest> SageMakerRequest.Builder,SdkBuilder<UpdateInferenceComponentRequest.Builder,,UpdateInferenceComponentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateInferenceComponentRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentConfig(Consumer<InferenceComponentDeploymentConfig.Builder> deploymentConfig) The deployment configuration for the inference component.deploymentConfig(InferenceComponentDeploymentConfig deploymentConfig) The deployment configuration for the inference component.inferenceComponentName(String inferenceComponentName) The name of the inference component.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.runtimeConfig(Consumer<InferenceComponentRuntimeConfig.Builder> runtimeConfig) Runtime settings for a model that is deployed with an inference component.runtimeConfig(InferenceComponentRuntimeConfig runtimeConfig) Runtime settings for a model that is deployed with an inference component.specification(Consumer<InferenceComponentSpecification.Builder> specification) Details about the resources to deploy with this inference component, including the model, container, and compute resources.specification(InferenceComponentSpecification specification) Details about the resources to deploy with this inference component, including the model, container, and compute resources.specifications(Collection<InferenceComponentSpecification> specifications) A list of specification objects for the inference component, one per instance type.specifications(Consumer<InferenceComponentSpecification.Builder>... specifications) A list of specification objects for the inference component, one per instance type.specifications(InferenceComponentSpecification... specifications) A list of specification objects for the inference component, one per instance type.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
inferenceComponentName
The name of the inference component.
- Parameters:
inferenceComponentName- The name of the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specification
UpdateInferenceComponentRequest.Builder specification(InferenceComponentSpecification specification) Details about the resources to deploy with this inference component, including the model, container, and compute resources.
- Parameters:
specification- Details about the resources to deploy with this inference component, including the model, container, and compute resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specification
default UpdateInferenceComponentRequest.Builder specification(Consumer<InferenceComponentSpecification.Builder> specification) Details about the resources to deploy with this inference component, including the model, container, and compute resources.
This is a convenience method that creates an instance of theInferenceComponentSpecification.Builderavoiding the need to create one manually viaInferenceComponentSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospecification(InferenceComponentSpecification).- Parameters:
specification- a consumer that will call methods onInferenceComponentSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specifications
UpdateInferenceComponentRequest.Builder specifications(Collection<InferenceComponentSpecification> specifications) A list of specification objects for the inference component, one per instance type. Use this parameter when you want to specify different model or resource configurations for the inference component on each instance type. You can use either this parameter or the singular
Specificationparameter, but not both.- Parameters:
specifications- A list of specification objects for the inference component, one per instance type. Use this parameter when you want to specify different model or resource configurations for the inference component on each instance type. You can use either this parameter or the singularSpecificationparameter, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specifications
UpdateInferenceComponentRequest.Builder specifications(InferenceComponentSpecification... specifications) A list of specification objects for the inference component, one per instance type. Use this parameter when you want to specify different model or resource configurations for the inference component on each instance type. You can use either this parameter or the singular
Specificationparameter, but not both.- Parameters:
specifications- A list of specification objects for the inference component, one per instance type. Use this parameter when you want to specify different model or resource configurations for the inference component on each instance type. You can use either this parameter or the singularSpecificationparameter, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specifications
UpdateInferenceComponentRequest.Builder specifications(Consumer<InferenceComponentSpecification.Builder>... specifications) A list of specification objects for the inference component, one per instance type. Use this parameter when you want to specify different model or resource configurations for the inference component on each instance type. You can use either this parameter or the singular
This is a convenience method that creates an instance of theSpecificationparameter, but not both.InferenceComponentSpecification.Builderavoiding the need to create one manually viaInferenceComponentSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospecifications(List<InferenceComponentSpecification>).- Parameters:
specifications- a consumer that will call methods onInferenceComponentSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtimeConfig
UpdateInferenceComponentRequest.Builder runtimeConfig(InferenceComponentRuntimeConfig runtimeConfig) Runtime settings for a model that is deployed with an inference component.
- Parameters:
runtimeConfig- Runtime settings for a model that is deployed with an inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfig
default UpdateInferenceComponentRequest.Builder runtimeConfig(Consumer<InferenceComponentRuntimeConfig.Builder> runtimeConfig) Runtime settings for a model that is deployed with an inference component.
This is a convenience method that creates an instance of theInferenceComponentRuntimeConfig.Builderavoiding the need to create one manually viaInferenceComponentRuntimeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruntimeConfig(InferenceComponentRuntimeConfig).- Parameters:
runtimeConfig- a consumer that will call methods onInferenceComponentRuntimeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentConfig
UpdateInferenceComponentRequest.Builder deploymentConfig(InferenceComponentDeploymentConfig deploymentConfig) The deployment configuration for the inference component. The configuration contains the desired deployment strategy and rollback settings.
- Parameters:
deploymentConfig- The deployment configuration for the inference component. The configuration contains the desired deployment strategy and rollback settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
default UpdateInferenceComponentRequest.Builder deploymentConfig(Consumer<InferenceComponentDeploymentConfig.Builder> deploymentConfig) The deployment configuration for the inference component. The configuration contains the desired deployment strategy and rollback settings.
This is a convenience method that creates an instance of theInferenceComponentDeploymentConfig.Builderavoiding the need to create one manually viaInferenceComponentDeploymentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentConfig(InferenceComponentDeploymentConfig).- Parameters:
deploymentConfig- a consumer that will call methods onInferenceComponentDeploymentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateInferenceComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateInferenceComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-