public static interface TrafficConfig.Builder extends SdkPojo, CopyableBuilder<TrafficConfig.Builder,TrafficConfig>
| Modifier and Type | Method and Description |
|---|---|
default TrafficConfig.Builder |
singleHeaderConfig(Consumer<ContinuousDeploymentSingleHeaderConfig.Builder> singleHeaderConfig)
Determines which HTTP requests are sent to the staging distribution.
|
TrafficConfig.Builder |
singleHeaderConfig(ContinuousDeploymentSingleHeaderConfig singleHeaderConfig)
Determines which HTTP requests are sent to the staging distribution.
|
default TrafficConfig.Builder |
singleWeightConfig(Consumer<ContinuousDeploymentSingleWeightConfig.Builder> singleWeightConfig)
Contains the percentage of traffic to send to the staging distribution.
|
TrafficConfig.Builder |
singleWeightConfig(ContinuousDeploymentSingleWeightConfig singleWeightConfig)
Contains the percentage of traffic to send to the staging distribution.
|
TrafficConfig.Builder |
type(ContinuousDeploymentPolicyType type)
The type of traffic configuration.
|
TrafficConfig.Builder |
type(String type)
The type of traffic configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTrafficConfig.Builder singleWeightConfig(ContinuousDeploymentSingleWeightConfig singleWeightConfig)
Contains the percentage of traffic to send to the staging distribution.
singleWeightConfig - Contains the percentage of traffic to send to the staging distribution.default TrafficConfig.Builder singleWeightConfig(Consumer<ContinuousDeploymentSingleWeightConfig.Builder> singleWeightConfig)
Contains the percentage of traffic to send to the staging distribution.
This is a convenience method that creates an instance of theContinuousDeploymentSingleWeightConfig.Builder avoiding the need to create one manually via
ContinuousDeploymentSingleWeightConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to singleWeightConfig(ContinuousDeploymentSingleWeightConfig).
singleWeightConfig - a consumer that will call methods on ContinuousDeploymentSingleWeightConfig.BuildersingleWeightConfig(ContinuousDeploymentSingleWeightConfig)TrafficConfig.Builder singleHeaderConfig(ContinuousDeploymentSingleHeaderConfig singleHeaderConfig)
Determines which HTTP requests are sent to the staging distribution.
singleHeaderConfig - Determines which HTTP requests are sent to the staging distribution.default TrafficConfig.Builder singleHeaderConfig(Consumer<ContinuousDeploymentSingleHeaderConfig.Builder> singleHeaderConfig)
Determines which HTTP requests are sent to the staging distribution.
This is a convenience method that creates an instance of theContinuousDeploymentSingleHeaderConfig.Builder avoiding the need to create one manually via
ContinuousDeploymentSingleHeaderConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to singleHeaderConfig(ContinuousDeploymentSingleHeaderConfig).
singleHeaderConfig - a consumer that will call methods on ContinuousDeploymentSingleHeaderConfig.BuildersingleHeaderConfig(ContinuousDeploymentSingleHeaderConfig)TrafficConfig.Builder type(String type)
The type of traffic configuration.
type - The type of traffic configuration.ContinuousDeploymentPolicyType,
ContinuousDeploymentPolicyTypeTrafficConfig.Builder type(ContinuousDeploymentPolicyType type)
The type of traffic configuration.
type - The type of traffic configuration.ContinuousDeploymentPolicyType,
ContinuousDeploymentPolicyTypeCopyright © 2023. All rights reserved.