Interface DesiredWeightAndCapacity.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DesiredWeightAndCapacity.Builder,,- DesiredWeightAndCapacity> - SdkBuilder<DesiredWeightAndCapacity.Builder,,- DesiredWeightAndCapacity> - SdkPojo
- Enclosing class:
- DesiredWeightAndCapacity
@Mutable
@NotThreadSafe
public static interface DesiredWeightAndCapacity.Builder
extends SdkPojo, CopyableBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity> 
- 
Method SummaryModifier and TypeMethodDescriptiondesiredInstanceCount(Integer desiredInstanceCount) The variant's capacity.desiredWeight(Float desiredWeight) The variant's weight.default DesiredWeightAndCapacity.BuilderserverlessUpdateConfig(Consumer<ProductionVariantServerlessUpdateConfig.Builder> serverlessUpdateConfig) Specifies the serverless update concurrency configuration for an endpoint variant.serverlessUpdateConfig(ProductionVariantServerlessUpdateConfig serverlessUpdateConfig) Specifies the serverless update concurrency configuration for an endpoint variant.variantName(String variantName) The name of the variant to update.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
variantNameThe name of the variant to update. - Parameters:
- variantName- The name of the variant to update.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
desiredWeightThe variant's weight. - Parameters:
- desiredWeight- The variant's weight.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
desiredInstanceCountThe variant's capacity. - Parameters:
- desiredInstanceCount- The variant's capacity.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
serverlessUpdateConfigDesiredWeightAndCapacity.Builder serverlessUpdateConfig(ProductionVariantServerlessUpdateConfig serverlessUpdateConfig) Specifies the serverless update concurrency configuration for an endpoint variant. - Parameters:
- serverlessUpdateConfig- Specifies the serverless update concurrency configuration for an endpoint variant.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
serverlessUpdateConfigdefault DesiredWeightAndCapacity.Builder serverlessUpdateConfig(Consumer<ProductionVariantServerlessUpdateConfig.Builder> serverlessUpdateConfig) Specifies the serverless update concurrency configuration for an endpoint variant. This is a convenience method that creates an instance of theProductionVariantServerlessUpdateConfig.Builderavoiding the need to create one manually viaProductionVariantServerlessUpdateConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverlessUpdateConfig(ProductionVariantServerlessUpdateConfig).- Parameters:
- serverlessUpdateConfig- a consumer that will call methods on- ProductionVariantServerlessUpdateConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-