public static interface StopInferenceExperimentRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<StopInferenceExperimentRequest.Builder,StopInferenceExperimentRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
StopInferenceExperimentRequest.Builder name(String name)
The name of the inference experiment to stop.
name
- The name of the inference experiment to stop.StopInferenceExperimentRequest.Builder modelVariantActionsWithStrings(Map<String,String> modelVariantActions)
Array of key-value pairs, with names of variants mapped to actions. The possible actions are the following:
Promote
- Promote the shadow variant to a production variant
Remove
- Delete the variant
Retain
- Keep the variant as it is
modelVariantActions
- Array of key-value pairs, with names of variants mapped to actions. The possible actions are the
following:
Promote
- Promote the shadow variant to a production variant
Remove
- Delete the variant
Retain
- Keep the variant as it is
StopInferenceExperimentRequest.Builder modelVariantActions(Map<String,ModelVariantAction> modelVariantActions)
Array of key-value pairs, with names of variants mapped to actions. The possible actions are the following:
Promote
- Promote the shadow variant to a production variant
Remove
- Delete the variant
Retain
- Keep the variant as it is
modelVariantActions
- Array of key-value pairs, with names of variants mapped to actions. The possible actions are the
following:
Promote
- Promote the shadow variant to a production variant
Remove
- Delete the variant
Retain
- Keep the variant as it is
StopInferenceExperimentRequest.Builder desiredModelVariants(Collection<ModelVariantConfig> desiredModelVariants)
An array of ModelVariantConfig
objects. There is one for each variant that you want to deploy
after the inference experiment stops. Each ModelVariantConfig
describes the infrastructure
configuration for deploying the corresponding variant.
desiredModelVariants
- An array of ModelVariantConfig
objects. There is one for each variant that you want to
deploy after the inference experiment stops. Each ModelVariantConfig
describes the
infrastructure configuration for deploying the corresponding variant.StopInferenceExperimentRequest.Builder desiredModelVariants(ModelVariantConfig... desiredModelVariants)
An array of ModelVariantConfig
objects. There is one for each variant that you want to deploy
after the inference experiment stops. Each ModelVariantConfig
describes the infrastructure
configuration for deploying the corresponding variant.
desiredModelVariants
- An array of ModelVariantConfig
objects. There is one for each variant that you want to
deploy after the inference experiment stops. Each ModelVariantConfig
describes the
infrastructure configuration for deploying the corresponding variant.StopInferenceExperimentRequest.Builder desiredModelVariants(Consumer<ModelVariantConfig.Builder>... desiredModelVariants)
An array of ModelVariantConfig
objects. There is one for each variant that you want to deploy
after the inference experiment stops. Each ModelVariantConfig
describes the infrastructure
configuration for deploying the corresponding variant.
ModelVariantConfig.Builder
avoiding the need to
create one manually via ModelVariantConfig.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #desiredModelVariants(List
.
desiredModelVariants
- a consumer that will call methods on
ModelVariantConfig.Builder
#desiredModelVariants(java.util.Collection)
StopInferenceExperimentRequest.Builder desiredState(String desiredState)
The desired state of the experiment after stopping. The possible states are the following:
Completed
: The experiment completed successfully
Cancelled
: The experiment was canceled
desiredState
- The desired state of the experiment after stopping. The possible states are the following:
Completed
: The experiment completed successfully
Cancelled
: The experiment was canceled
InferenceExperimentStopDesiredState
,
InferenceExperimentStopDesiredState
StopInferenceExperimentRequest.Builder desiredState(InferenceExperimentStopDesiredState desiredState)
The desired state of the experiment after stopping. The possible states are the following:
Completed
: The experiment completed successfully
Cancelled
: The experiment was canceled
desiredState
- The desired state of the experiment after stopping. The possible states are the following:
Completed
: The experiment completed successfully
Cancelled
: The experiment was canceled
InferenceExperimentStopDesiredState
,
InferenceExperimentStopDesiredState
StopInferenceExperimentRequest.Builder reason(String reason)
The reason for stopping the experiment.
reason
- The reason for stopping the experiment.StopInferenceExperimentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
StopInferenceExperimentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.