Interface CreateInferenceComponentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInferenceComponentRequest.Builder,CreateInferenceComponentRequest>,SageMakerRequest.Builder,SdkBuilder<CreateInferenceComponentRequest.Builder,CreateInferenceComponentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateInferenceComponentRequest
public static interface CreateInferenceComponentRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateInferenceComponentRequest.Builder,CreateInferenceComponentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateInferenceComponentRequest.BuilderendpointName(String endpointName)The name of an existing endpoint where you host the inference component.CreateInferenceComponentRequest.BuilderinferenceComponentName(String inferenceComponentName)A unique name to assign to the inference component.CreateInferenceComponentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateInferenceComponentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateInferenceComponentRequest.BuilderruntimeConfig(Consumer<InferenceComponentRuntimeConfig.Builder> runtimeConfig)Runtime settings for a model that is deployed with an inference component.CreateInferenceComponentRequest.BuilderruntimeConfig(InferenceComponentRuntimeConfig runtimeConfig)Runtime settings for a model that is deployed with an inference component.default CreateInferenceComponentRequest.Builderspecification(Consumer<InferenceComponentSpecification.Builder> specification)Details about the resources to deploy with this inference component, including the model, container, and compute resources.CreateInferenceComponentRequest.Builderspecification(InferenceComponentSpecification specification)Details about the resources to deploy with this inference component, including the model, container, and compute resources.CreateInferenceComponentRequest.Buildertags(Collection<Tag> tags)A list of key-value pairs associated with the model.CreateInferenceComponentRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of key-value pairs associated with the model.CreateInferenceComponentRequest.Buildertags(Tag... tags)A list of key-value pairs associated with the model.CreateInferenceComponentRequest.BuildervariantName(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
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
CreateInferenceComponentRequest.Builder inferenceComponentName(String 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
CreateInferenceComponentRequest.Builder endpointName(String 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
CreateInferenceComponentRequest.Builder variantName(String 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:
specification(InferenceComponentSpecification)
-
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:
runtimeConfig(InferenceComponentRuntimeConfig)
-
tags
CreateInferenceComponentRequest.Builder tags(Collection<Tag> 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
CreateInferenceComponentRequest.Builder tags(Tag... 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
CreateInferenceComponentRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateInferenceComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateInferenceComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-