@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopInferenceExperimentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StopInferenceExperimentRequest() |
Modifier and Type | Method and Description |
---|---|
StopInferenceExperimentRequest |
addModelVariantActionsEntry(String key,
String value)
Add a single ModelVariantActions entry
|
StopInferenceExperimentRequest |
clearModelVariantActionsEntries()
Removes all the entries added into ModelVariantActions.
|
StopInferenceExperimentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ModelVariantConfig> |
getDesiredModelVariants()
An array of
ModelVariantConfig objects. |
String |
getDesiredState()
The desired state of the experiment after stopping.
|
Map<String,String> |
getModelVariantActions()
Array of key-value pairs, with names of variants mapped to actions.
|
String |
getName()
The name of the inference experiment to stop.
|
String |
getReason()
The reason for stopping the experiment.
|
int |
hashCode() |
void |
setDesiredModelVariants(Collection<ModelVariantConfig> desiredModelVariants)
An array of
ModelVariantConfig objects. |
void |
setDesiredState(String desiredState)
The desired state of the experiment after stopping.
|
void |
setModelVariantActions(Map<String,String> modelVariantActions)
Array of key-value pairs, with names of variants mapped to actions.
|
void |
setName(String name)
The name of the inference experiment to stop.
|
void |
setReason(String reason)
The reason for stopping the experiment.
|
String |
toString()
Returns a string representation of this object.
|
StopInferenceExperimentRequest |
withDesiredModelVariants(Collection<ModelVariantConfig> desiredModelVariants)
An array of
ModelVariantConfig objects. |
StopInferenceExperimentRequest |
withDesiredModelVariants(ModelVariantConfig... desiredModelVariants)
An array of
ModelVariantConfig objects. |
StopInferenceExperimentRequest |
withDesiredState(InferenceExperimentStopDesiredState desiredState)
The desired state of the experiment after stopping.
|
StopInferenceExperimentRequest |
withDesiredState(String desiredState)
The desired state of the experiment after stopping.
|
StopInferenceExperimentRequest |
withModelVariantActions(Map<String,String> modelVariantActions)
Array of key-value pairs, with names of variants mapped to actions.
|
StopInferenceExperimentRequest |
withName(String name)
The name of the inference experiment to stop.
|
StopInferenceExperimentRequest |
withReason(String reason)
The reason for stopping the experiment.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the inference experiment to stop.
name
- The name of the inference experiment to stop.public String getName()
The name of the inference experiment to stop.
public StopInferenceExperimentRequest withName(String name)
The name of the inference experiment to stop.
name
- The name of the inference experiment to stop.public Map<String,String> getModelVariantActions()
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
Promote
- Promote the shadow variant to a production variant
Remove
- Delete the variant
Retain
- Keep the variant as it is
public void setModelVariantActions(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
public StopInferenceExperimentRequest withModelVariantActions(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
public StopInferenceExperimentRequest addModelVariantActionsEntry(String key, String value)
public StopInferenceExperimentRequest clearModelVariantActionsEntries()
public List<ModelVariantConfig> getDesiredModelVariants()
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
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.public void setDesiredModelVariants(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.public StopInferenceExperimentRequest withDesiredModelVariants(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.
NOTE: This method appends the values to the existing list (if any). Use
setDesiredModelVariants(java.util.Collection)
or withDesiredModelVariants(java.util.Collection)
if you want to override the existing values.
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.public StopInferenceExperimentRequest withDesiredModelVariants(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.public void setDesiredState(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
public String getDesiredState()
The desired state of the experiment after stopping. The possible states are the following:
Completed
: The experiment completed successfully
Cancelled
: The experiment was canceled
Completed
: The experiment completed successfully
Cancelled
: The experiment was canceled
InferenceExperimentStopDesiredState
public StopInferenceExperimentRequest withDesiredState(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
public StopInferenceExperimentRequest withDesiredState(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
public void setReason(String reason)
The reason for stopping the experiment.
reason
- The reason for stopping the experiment.public String getReason()
The reason for stopping the experiment.
public StopInferenceExperimentRequest withReason(String reason)
The reason for stopping the experiment.
reason
- The reason for stopping the experiment.public String toString()
toString
in class Object
Object.toString()
public StopInferenceExperimentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.