Interface ShadowModeConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ShadowModeConfig.Builder,ShadowModeConfig>,SdkBuilder<ShadowModeConfig.Builder,ShadowModeConfig>,SdkPojo
- Enclosing class:
- ShadowModeConfig
public static interface ShadowModeConfig.Builder extends SdkPojo, CopyableBuilder<ShadowModeConfig.Builder,ShadowModeConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShadowModeConfig.BuildershadowModelVariants(Collection<ShadowModelVariantConfig> shadowModelVariants)List of shadow variant configurations.ShadowModeConfig.BuildershadowModelVariants(Consumer<ShadowModelVariantConfig.Builder>... shadowModelVariants)List of shadow variant configurations.ShadowModeConfig.BuildershadowModelVariants(ShadowModelVariantConfig... shadowModelVariants)List of shadow variant configurations.ShadowModeConfig.BuildersourceModelVariantName(String sourceModelVariantName)The name of the production variant, which takes all the inference requests.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
sourceModelVariantName
ShadowModeConfig.Builder sourceModelVariantName(String sourceModelVariantName)
The name of the production variant, which takes all the inference requests.
- Parameters:
sourceModelVariantName- The name of the production variant, which takes all the inference requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowModelVariants
ShadowModeConfig.Builder shadowModelVariants(Collection<ShadowModelVariantConfig> shadowModelVariants)
List of shadow variant configurations.
- Parameters:
shadowModelVariants- List of shadow variant configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowModelVariants
ShadowModeConfig.Builder shadowModelVariants(ShadowModelVariantConfig... shadowModelVariants)
List of shadow variant configurations.
- Parameters:
shadowModelVariants- List of shadow variant configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowModelVariants
ShadowModeConfig.Builder shadowModelVariants(Consumer<ShadowModelVariantConfig.Builder>... shadowModelVariants)
List of shadow variant configurations.
This is a convenience method that creates an instance of theShadowModelVariantConfig.Builderavoiding the need to create one manually viaShadowModelVariantConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#shadowModelVariants(List.) - Parameters:
shadowModelVariants- a consumer that will call methods onShadowModelVariantConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#shadowModelVariants(java.util.Collection)
-
-