Interface DesiredWeightAndCapacity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity>,SdkBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity>,SdkPojo
- Enclosing class:
- DesiredWeightAndCapacity
public static interface DesiredWeightAndCapacity.Builder extends SdkPojo, CopyableBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DesiredWeightAndCapacity.BuilderdesiredInstanceCount(Integer desiredInstanceCount)The variant's capacity.DesiredWeightAndCapacity.BuilderdesiredWeight(Float desiredWeight)The variant's weight.default DesiredWeightAndCapacity.BuilderserverlessUpdateConfig(Consumer<ProductionVariantServerlessUpdateConfig.Builder> serverlessUpdateConfig)Specifies the serverless update concurrency configuration for an endpoint variant.DesiredWeightAndCapacity.BuilderserverlessUpdateConfig(ProductionVariantServerlessUpdateConfig serverlessUpdateConfig)Specifies the serverless update concurrency configuration for an endpoint variant.DesiredWeightAndCapacity.BuildervariantName(String variantName)The name of the variant to update.-
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
-
variantName
DesiredWeightAndCapacity.Builder variantName(String variantName)
The 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.
-
desiredWeight
DesiredWeightAndCapacity.Builder desiredWeight(Float desiredWeight)
The variant's weight.
- Parameters:
desiredWeight- The variant's weight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredInstanceCount
DesiredWeightAndCapacity.Builder desiredInstanceCount(Integer desiredInstanceCount)
The variant's capacity.
- Parameters:
desiredInstanceCount- The variant's capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessUpdateConfig
DesiredWeightAndCapacity.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.
-
serverlessUpdateConfig
default 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 onProductionVariantServerlessUpdateConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
serverlessUpdateConfig(ProductionVariantServerlessUpdateConfig)
-
-