public static interface TrafficPattern.Builder extends SdkPojo, CopyableBuilder<TrafficPattern.Builder,TrafficPattern>
| Modifier and Type | Method and Description |
|---|---|
TrafficPattern.Builder |
phases(Collection<Phase> phases)
Defines the phases traffic specification.
|
TrafficPattern.Builder |
phases(Consumer<Phase.Builder>... phases)
Defines the phases traffic specification.
|
TrafficPattern.Builder |
phases(Phase... phases)
Defines the phases traffic specification.
|
TrafficPattern.Builder |
trafficType(String trafficType)
Defines the traffic patterns.
|
TrafficPattern.Builder |
trafficType(TrafficType trafficType)
Defines the traffic patterns.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTrafficPattern.Builder trafficType(String trafficType)
Defines the traffic patterns.
trafficType - Defines the traffic patterns.TrafficType,
TrafficTypeTrafficPattern.Builder trafficType(TrafficType trafficType)
Defines the traffic patterns.
trafficType - Defines the traffic patterns.TrafficType,
TrafficTypeTrafficPattern.Builder phases(Collection<Phase> phases)
Defines the phases traffic specification.
phases - Defines the phases traffic specification.TrafficPattern.Builder phases(Phase... phases)
Defines the phases traffic specification.
phases - Defines the phases traffic specification.TrafficPattern.Builder phases(Consumer<Phase.Builder>... phases)
Defines the phases traffic specification.
This is a convenience method that creates an instance of thePhase.Builder avoiding the need to create one
manually via Phase.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #phases(List.
phases - a consumer that will call methods on
Phase.Builder#phases(java.util.Collection) Copyright © 2023. All rights reserved.