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.
|
default TrafficPattern.Builder |
stairs(Consumer<Stairs.Builder> stairs)
Defines the stairs traffic pattern.
|
TrafficPattern.Builder |
stairs(Stairs stairs)
Defines the stairs traffic pattern.
|
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. Choose either PHASES or STAIRS.
trafficType - Defines the traffic patterns. Choose either PHASES or STAIRS.TrafficType,
TrafficTypeTrafficPattern.Builder trafficType(TrafficType trafficType)
Defines the traffic patterns. Choose either PHASES or STAIRS.
trafficType - Defines the traffic patterns. Choose either PHASES or STAIRS.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) TrafficPattern.Builder stairs(Stairs stairs)
Defines the stairs traffic pattern.
stairs - Defines the stairs traffic pattern.default TrafficPattern.Builder stairs(Consumer<Stairs.Builder> stairs)
Defines the stairs traffic pattern.
This is a convenience method that creates an instance of theStairs.Builder avoiding the need to
create one manually via Stairs.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to stairs(Stairs).
stairs - a consumer that will call methods on Stairs.Builderstairs(Stairs)Copyright © 2023. All rights reserved.