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
Modifier and TypeMethodDescriptionshadowModelVariants(Collection<ShadowModelVariantConfig> shadowModelVariants) List of shadow variant configurations.shadowModelVariants(Consumer<ShadowModelVariantConfig.Builder>... shadowModelVariants) List of shadow variant configurations.shadowModelVariants(ShadowModelVariantConfig... shadowModelVariants) List of shadow variant configurations.sourceModelVariantName(String sourceModelVariantName) The name of the production variant, which takes all the inference requests.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 toshadowModelVariants(List<ShadowModelVariantConfig>).- 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:
-