Interface ContinuousDeploymentSingleWeightConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContinuousDeploymentSingleWeightConfig.Builder,ContinuousDeploymentSingleWeightConfig>,SdkBuilder<ContinuousDeploymentSingleWeightConfig.Builder,ContinuousDeploymentSingleWeightConfig>,SdkPojo
- Enclosing class:
- ContinuousDeploymentSingleWeightConfig
@Mutable @NotThreadSafe public static interface ContinuousDeploymentSingleWeightConfig.Builder extends SdkPojo, CopyableBuilder<ContinuousDeploymentSingleWeightConfig.Builder,ContinuousDeploymentSingleWeightConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ContinuousDeploymentSingleWeightConfig.BuildersessionStickinessConfig(Consumer<SessionStickinessConfig.Builder> sessionStickinessConfig)Sets the value of the SessionStickinessConfig property for this object.ContinuousDeploymentSingleWeightConfig.BuildersessionStickinessConfig(SessionStickinessConfig sessionStickinessConfig)Sets the value of the SessionStickinessConfig property for this object.ContinuousDeploymentSingleWeightConfig.Builderweight(Float weight)The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15.-
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
-
weight
ContinuousDeploymentSingleWeightConfig.Builder weight(Float weight)
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.
- Parameters:
weight- The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionStickinessConfig
ContinuousDeploymentSingleWeightConfig.Builder sessionStickinessConfig(SessionStickinessConfig sessionStickinessConfig)
Sets the value of the SessionStickinessConfig property for this object.- Parameters:
sessionStickinessConfig- The new value for the SessionStickinessConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionStickinessConfig
default ContinuousDeploymentSingleWeightConfig.Builder sessionStickinessConfig(Consumer<SessionStickinessConfig.Builder> sessionStickinessConfig)
Sets the value of the SessionStickinessConfig property for this object. This is a convenience method that creates an instance of theSessionStickinessConfig.Builderavoiding the need to create one manually viaSessionStickinessConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionStickinessConfig(SessionStickinessConfig).- Parameters:
sessionStickinessConfig- a consumer that will call methods onSessionStickinessConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sessionStickinessConfig(SessionStickinessConfig)
-
-