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.Builder
endpointName(String endpointName)
The name of an existing endpoint where you host the inference component.CreateInferenceComponentRequest.Builder
inferenceComponentName(String inferenceComponentName)
A unique name to assign to the inference component.CreateInferenceComponentRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateInferenceComponentRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default CreateInferenceComponentRequest.Builder
runtimeConfig(Consumer<InferenceComponentRuntimeConfig.Builder> runtimeConfig)
Runtime settings for a model that is deployed with an inference component.CreateInferenceComponentRequest.Builder
runtimeConfig(InferenceComponentRuntimeConfig runtimeConfig)
Runtime settings for a model that is deployed with an inference component.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.CreateInferenceComponentRequest.Builder
specification(InferenceComponentSpecification specification)
Details about the resources to deploy with this inference component, including the model, container, and compute resources.CreateInferenceComponentRequest.Builder
tags(Collection<Tag> tags)
A list of key-value pairs associated with the model.CreateInferenceComponentRequest.Builder
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs associated with the model.CreateInferenceComponentRequest.Builder
tags(Tag... tags)
A list of key-value pairs associated with the model.CreateInferenceComponentRequest.Builder
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
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.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:
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.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:
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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateInferenceComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-