Interface TrafficPattern.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficPattern.Builder,,TrafficPattern> SdkBuilder<TrafficPattern.Builder,,TrafficPattern> SdkPojo
- Enclosing class:
TrafficPattern
public static interface TrafficPattern.Builder
extends SdkPojo, CopyableBuilder<TrafficPattern.Builder,TrafficPattern>
-
Method Summary
Modifier and TypeMethodDescriptionphases(Collection<Phase> phases) Defines the phases traffic specification.phases(Consumer<Phase.Builder>... phases) Defines the phases traffic specification.Defines the phases traffic specification.default TrafficPattern.Builderstairs(Consumer<Stairs.Builder> stairs) Defines the stairs traffic pattern.Defines the stairs traffic pattern.trafficType(String trafficType) Defines the traffic patterns.trafficType(TrafficType trafficType) Defines the traffic patterns.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
trafficType
Defines the traffic patterns. Choose either
PHASESorSTAIRS.- Parameters:
trafficType- Defines the traffic patterns. Choose eitherPHASESorSTAIRS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trafficType
Defines the traffic patterns. Choose either
PHASESorSTAIRS.- Parameters:
trafficType- Defines the traffic patterns. Choose eitherPHASESorSTAIRS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phases
Defines the phases traffic specification.
- Parameters:
phases- Defines the phases traffic specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phases
Defines the phases traffic specification.
- Parameters:
phases- Defines the phases traffic specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phases
Defines the phases traffic specification.
This is a convenience method that creates an instance of thePhase.Builderavoiding the need to create one manually viaPhase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophases(List<Phase>).- Parameters:
phases- a consumer that will call methods onPhase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stairs
Defines the stairs traffic pattern.
- Parameters:
stairs- Defines the stairs traffic pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stairs
Defines the stairs traffic pattern.
This is a convenience method that creates an instance of theStairs.Builderavoiding the need to create one manually viaStairs.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostairs(Stairs).- Parameters:
stairs- a consumer that will call methods onStairs.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-