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 theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #phases(List) .phases - a consumer that will call methods on List.Builder #phases(List) Copyright © 2022. All rights reserved.