Interface CreateInferenceComponentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInferenceComponentRequest.Builder,,CreateInferenceComponentRequest> SageMakerRequest.Builder,SdkBuilder<CreateInferenceComponentRequest.Builder,,CreateInferenceComponentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateInferenceComponentRequest
-
Method Summary
Modifier and TypeMethodDescriptionendpointName(String endpointName) The name of an existing endpoint where you host the inference component.inferenceComponentName(String inferenceComponentName) A unique name to assign to 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.tags(Collection<Tag> tags) A list of key-value pairs associated with the model.tags(Consumer<Tag.Builder>... tags) A list of key-value pairs associated with the model.A list of key-value pairs associated with the model.variantName(String variantName) The name of an existing production variant where you host the inference component.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, sdkFields
-
Method Details
-
inferenceComponentName
A unique name to assign to the inference component.
- Parameters:
inferenceComponentName- A unique name to assign to the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointName
The name of an existing endpoint where you host the inference component.
- Parameters:
endpointName- The name of an existing endpoint where you host the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantName
The name of an existing production variant where you host the inference component.
- Parameters:
variantName- The name of an existing production variant where you host the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specification
CreateInferenceComponentRequest.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 CreateInferenceComponentRequest.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:
-
runtimeConfig
CreateInferenceComponentRequest.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 CreateInferenceComponentRequest.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:
-
tags
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
- Parameters:
tags- A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
- Parameters:
tags- A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateInferenceComponentRequest.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
CreateInferenceComponentRequest.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.
-