@Generated(value="software.amazon.awssdk:codegen") public final class UpdateInferenceExperimentRequest extends SageMakerRequest implements ToCopyableBuilder<UpdateInferenceExperimentRequest.Builder,UpdateInferenceExperimentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateInferenceExperimentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateInferenceExperimentRequest.Builder |
builder() |
InferenceExperimentDataStorageConfig |
dataStorageConfig()
The Amazon S3 location and configuration for storing inference request and response data.
|
String |
description()
The description of the inference experiment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasModelVariants()
For responses, this returns true if the service returned a value for the ModelVariants property.
|
List<ModelVariantConfig> |
modelVariants()
An array of
ModelVariantConfig objects. |
String |
name()
The name of the inference experiment to be updated.
|
InferenceExperimentSchedule |
schedule()
The duration for which the inference experiment will run.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateInferenceExperimentRequest.Builder> |
serializableBuilderClass() |
ShadowModeConfig |
shadowModeConfig()
The configuration of
ShadowMode inference experiment type. |
UpdateInferenceExperimentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the inference experiment to be updated.
public final 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.
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 final String description()
The description of the inference experiment.
public final boolean hasModelVariants()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ModelVariantConfig> modelVariants()
An array of ModelVariantConfig objects. There is one for each variant, whose infrastructure
configuration you want to update.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasModelVariants() method.
ModelVariantConfig objects. There is one for each variant, whose infrastructure
configuration you want to update.public final InferenceExperimentDataStorageConfig dataStorageConfig()
The Amazon S3 location and configuration for storing inference request and response data.
public final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateInferenceExperimentRequest.Builder,UpdateInferenceExperimentRequest>toBuilder in class SageMakerRequestpublic static UpdateInferenceExperimentRequest.Builder builder()
public static Class<? extends UpdateInferenceExperimentRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.