Interface UpdateInferenceExperimentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateInferenceExperimentRequest.Builder,UpdateInferenceExperimentRequest>
,SageMakerRequest.Builder
,SdkBuilder<UpdateInferenceExperimentRequest.Builder,UpdateInferenceExperimentRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateInferenceExperimentRequest
public static interface UpdateInferenceExperimentRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateInferenceExperimentRequest.Builder,UpdateInferenceExperimentRequest>
-
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
UpdateInferenceExperimentRequest.Builder name(String name)
The name of the inference experiment to be updated.
- Parameters:
name
- The name of the inference experiment to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
UpdateInferenceExperimentRequest.Builder schedule(InferenceExperimentSchedule schedule)
The duration for which the inference experiment will run. If the status of the inference experiment is
Created
, then you can update both the start and end dates. If the status of the inference experiment isRunning
, then you can update only the end date.- Parameters:
schedule
- The duration for which the inference experiment will run. If the status of the inference experiment isCreated
, then you can update both the start and end dates. If the status of the inference experiment isRunning
, then you can update only the end date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
default UpdateInferenceExperimentRequest.Builder schedule(Consumer<InferenceExperimentSchedule.Builder> schedule)
The duration for which the inference experiment will run. If the status of the inference experiment is
This is a convenience method that creates an instance of theCreated
, then you can update both the start and end dates. If the status of the inference experiment isRunning
, then you can update only the end date.InferenceExperimentSchedule.Builder
avoiding the need to create one manually viaInferenceExperimentSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(InferenceExperimentSchedule)
.- Parameters:
schedule
- a consumer that will call methods onInferenceExperimentSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
schedule(InferenceExperimentSchedule)
-
description
UpdateInferenceExperimentRequest.Builder description(String description)
The description of the inference experiment.
- Parameters:
description
- The description of the inference experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVariants
UpdateInferenceExperimentRequest.Builder modelVariants(Collection<ModelVariantConfig> modelVariants)
An array of
ModelVariantConfig
objects. There is one for each variant, whose infrastructure configuration you want to update.- Parameters:
modelVariants
- An array ofModelVariantConfig
objects. There is one for each variant, whose infrastructure configuration you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVariants
UpdateInferenceExperimentRequest.Builder modelVariants(ModelVariantConfig... modelVariants)
An array of
ModelVariantConfig
objects. There is one for each variant, whose infrastructure configuration you want to update.- Parameters:
modelVariants
- An array ofModelVariantConfig
objects. There is one for each variant, whose infrastructure configuration you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVariants
UpdateInferenceExperimentRequest.Builder modelVariants(Consumer<ModelVariantConfig.Builder>... modelVariants)
An array of
This is a convenience method that creates an instance of theModelVariantConfig
objects. There is one for each variant, whose infrastructure configuration you want to update.ModelVariantConfig.Builder
avoiding the need to create one manually viaModelVariantConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#modelVariants(List
.) - Parameters:
modelVariants
- a consumer that will call methods onModelVariantConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#modelVariants(java.util.Collection
)
-
dataStorageConfig
UpdateInferenceExperimentRequest.Builder dataStorageConfig(InferenceExperimentDataStorageConfig dataStorageConfig)
The Amazon S3 location and configuration for storing inference request and response data.
- Parameters:
dataStorageConfig
- The Amazon S3 location and configuration for storing inference request and response data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataStorageConfig
default UpdateInferenceExperimentRequest.Builder dataStorageConfig(Consumer<InferenceExperimentDataStorageConfig.Builder> dataStorageConfig)
The Amazon S3 location and configuration for storing inference request and response data.
This is a convenience method that creates an instance of theInferenceExperimentDataStorageConfig.Builder
avoiding the need to create one manually viaInferenceExperimentDataStorageConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataStorageConfig(InferenceExperimentDataStorageConfig)
.- Parameters:
dataStorageConfig
- a consumer that will call methods onInferenceExperimentDataStorageConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataStorageConfig(InferenceExperimentDataStorageConfig)
-
shadowModeConfig
UpdateInferenceExperimentRequest.Builder shadowModeConfig(ShadowModeConfig shadowModeConfig)
The configuration of
ShadowMode
inference experiment type. Use this field to specify a production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant also specify the percentage of requests that Amazon SageMaker replicates.- Parameters:
shadowModeConfig
- The configuration ofShadowMode
inference experiment type. Use this field to specify a production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant also specify the percentage of requests that Amazon SageMaker replicates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowModeConfig
default UpdateInferenceExperimentRequest.Builder shadowModeConfig(Consumer<ShadowModeConfig.Builder> shadowModeConfig)
The configuration of
This is a convenience method that creates an instance of theShadowMode
inference experiment type. Use this field to specify a production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant also specify the percentage of requests that Amazon SageMaker replicates.ShadowModeConfig.Builder
avoiding the need to create one manually viaShadowModeConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshadowModeConfig(ShadowModeConfig)
.- Parameters:
shadowModeConfig
- a consumer that will call methods onShadowModeConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
shadowModeConfig(ShadowModeConfig)
-
overrideConfiguration
UpdateInferenceExperimentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateInferenceExperimentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-