@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateInferenceExperimentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateInferenceExperimentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateInferenceExperimentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
InferenceExperimentDataStorageConfig |
getDataStorageConfig()
The Amazon S3 location and configuration for storing inference request and response data.
|
String |
getDescription()
The description of the inference experiment.
|
List<ModelVariantConfig> |
getModelVariants()
An array of
ModelVariantConfig objects. |
String |
getName()
The name of the inference experiment to be updated.
|
InferenceExperimentSchedule |
getSchedule()
The duration for which the inference experiment will run.
|
ShadowModeConfig |
getShadowModeConfig()
The configuration of
ShadowMode inference experiment type. |
int |
hashCode() |
void |
setDataStorageConfig(InferenceExperimentDataStorageConfig dataStorageConfig)
The Amazon S3 location and configuration for storing inference request and response data.
|
void |
setDescription(String description)
The description of the inference experiment.
|
void |
setModelVariants(Collection<ModelVariantConfig> modelVariants)
An array of
ModelVariantConfig objects. |
void |
setName(String name)
The name of the inference experiment to be updated.
|
void |
setSchedule(InferenceExperimentSchedule schedule)
The duration for which the inference experiment will run.
|
void |
setShadowModeConfig(ShadowModeConfig shadowModeConfig)
The configuration of
ShadowMode inference experiment type. |
String |
toString()
Returns a string representation of this object.
|
UpdateInferenceExperimentRequest |
withDataStorageConfig(InferenceExperimentDataStorageConfig dataStorageConfig)
The Amazon S3 location and configuration for storing inference request and response data.
|
UpdateInferenceExperimentRequest |
withDescription(String description)
The description of the inference experiment.
|
UpdateInferenceExperimentRequest |
withModelVariants(Collection<ModelVariantConfig> modelVariants)
An array of
ModelVariantConfig objects. |
UpdateInferenceExperimentRequest |
withModelVariants(ModelVariantConfig... modelVariants)
An array of
ModelVariantConfig objects. |
UpdateInferenceExperimentRequest |
withName(String name)
The name of the inference experiment to be updated.
|
UpdateInferenceExperimentRequest |
withSchedule(InferenceExperimentSchedule schedule)
The duration for which the inference experiment will run.
|
UpdateInferenceExperimentRequest |
withShadowModeConfig(ShadowModeConfig shadowModeConfig)
The configuration of
ShadowMode inference experiment type. |
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 be updated.
name
- The name of the inference experiment to be updated.public String getName()
The name of the inference experiment to be updated.
public UpdateInferenceExperimentRequest withName(String name)
The name of the inference experiment to be updated.
name
- The name of the inference experiment to be updated.public void setSchedule(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
is Running
, then you can update only the end date.
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 is Running
, then you can update only the end date.public InferenceExperimentSchedule getSchedule()
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
is Running
, then you can update only the end date.
Created
, then you can update both the start and end dates. If the status of the inference
experiment is Running
, then you can update only the end date.public UpdateInferenceExperimentRequest withSchedule(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
is Running
, then you can update only the end date.
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 is Running
, then you can update only the end date.public void setDescription(String description)
The description of the inference experiment.
description
- The description of the inference experiment.public String getDescription()
The description of the inference experiment.
public UpdateInferenceExperimentRequest withDescription(String description)
The description of the inference experiment.
description
- The description of the inference experiment.public List<ModelVariantConfig> getModelVariants()
An array of ModelVariantConfig
objects. There is one for each variant, whose infrastructure
configuration you want to update.
ModelVariantConfig
objects. There is one for each variant, whose infrastructure
configuration you want to update.public void setModelVariants(Collection<ModelVariantConfig> modelVariants)
An array of ModelVariantConfig
objects. There is one for each variant, whose infrastructure
configuration you want to update.
modelVariants
- An array of ModelVariantConfig
objects. There is one for each variant, whose infrastructure
configuration you want to update.public UpdateInferenceExperimentRequest withModelVariants(ModelVariantConfig... modelVariants)
An array of ModelVariantConfig
objects. There is one for each variant, whose infrastructure
configuration you want to update.
NOTE: This method appends the values to the existing list (if any). Use
setModelVariants(java.util.Collection)
or withModelVariants(java.util.Collection)
if you want
to override the existing values.
modelVariants
- An array of ModelVariantConfig
objects. There is one for each variant, whose infrastructure
configuration you want to update.public UpdateInferenceExperimentRequest withModelVariants(Collection<ModelVariantConfig> modelVariants)
An array of ModelVariantConfig
objects. There is one for each variant, whose infrastructure
configuration you want to update.
modelVariants
- An array of ModelVariantConfig
objects. There is one for each variant, whose infrastructure
configuration you want to update.public void setDataStorageConfig(InferenceExperimentDataStorageConfig dataStorageConfig)
The Amazon S3 location and configuration for storing inference request and response data.
dataStorageConfig
- The Amazon S3 location and configuration for storing inference request and response data.public InferenceExperimentDataStorageConfig getDataStorageConfig()
The Amazon S3 location and configuration for storing inference request and response data.
public UpdateInferenceExperimentRequest withDataStorageConfig(InferenceExperimentDataStorageConfig dataStorageConfig)
The Amazon S3 location and configuration for storing inference request and response data.
dataStorageConfig
- The Amazon S3 location and configuration for storing inference request and response data.public void setShadowModeConfig(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.
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.public ShadowModeConfig getShadowModeConfig()
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.
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.public UpdateInferenceExperimentRequest withShadowModeConfig(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.
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.public String toString()
toString
in class Object
Object.toString()
public UpdateInferenceExperimentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()