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
-
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 Detail
-
inferenceComponentName
UpdateInferenceComponentRequest.Builder inferenceComponentName(String 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:
specification(InferenceComponentSpecification)
-
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:
runtimeConfig(InferenceComponentRuntimeConfig)
-
overrideConfiguration
UpdateInferenceComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateInferenceComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-