Interface UpdateInferenceComponentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateInferenceComponentRequest.Builder,
,UpdateInferenceComponentRequest> SageMakerRequest.Builder
,SdkBuilder<UpdateInferenceComponentRequest.Builder,
,UpdateInferenceComponentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateInferenceComponentRequest
public static interface UpdateInferenceComponentRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateInferenceComponentRequest.Builder,UpdateInferenceComponentRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninferenceComponentName
(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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builder
avoiding the need to create one manually viaInferenceComponentSpecification.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaInferenceComponentRuntimeConfig.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
UpdateInferenceComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-