Interface ContinuousDeploymentSingleWeightConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ContinuousDeploymentSingleWeightConfig.Builder,ContinuousDeploymentSingleWeightConfig>
,SdkBuilder<ContinuousDeploymentSingleWeightConfig.Builder,ContinuousDeploymentSingleWeightConfig>
,SdkPojo
- Enclosing class:
- ContinuousDeploymentSingleWeightConfig
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.Builder
sessionStickinessConfig(Consumer<SessionStickinessConfig.Builder> sessionStickinessConfig)
Sets the value of the SessionStickinessConfig property for this object.ContinuousDeploymentSingleWeightConfig.Builder
sessionStickinessConfig(SessionStickinessConfig sessionStickinessConfig)
Sets the value of the SessionStickinessConfig property for this object.ContinuousDeploymentSingleWeightConfig.Builder
weight(Float weight)
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .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, 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 .15.
- Parameters:
weight
- The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.- 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.Builder
avoiding the need to create one manually viaSessionStickinessConfig.builder()
.When the
Consumer
completes,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)
-
-