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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TrafficPattern.Builderphases(Collection<Phase> phases)Defines the phases traffic specification.TrafficPattern.Builderphases(Consumer<Phase.Builder>... phases)Defines the phases traffic specification.TrafficPattern.Builderphases(Phase... phases)Defines the phases traffic specification.default TrafficPattern.Builderstairs(Consumer<Stairs.Builder> stairs)Defines the stairs traffic pattern.TrafficPattern.Builderstairs(Stairs stairs)Defines the stairs traffic pattern.TrafficPattern.BuildertrafficType(String trafficType)Defines the traffic patterns.TrafficPattern.BuildertrafficType(TrafficType trafficType)Defines the traffic patterns.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
trafficType
TrafficPattern.Builder trafficType(String 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,TrafficType
-
trafficType
TrafficPattern.Builder trafficType(TrafficType 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,TrafficType
-
phases
TrafficPattern.Builder phases(Collection<Phase> 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
TrafficPattern.Builder phases(Phase... 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
TrafficPattern.Builder phases(Consumer<Phase.Builder>... 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 to#phases(List.) - 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:
#phases(java.util.Collection)
-
stairs
TrafficPattern.Builder stairs(Stairs 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
default TrafficPattern.Builder stairs(Consumer<Stairs.Builder> 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:
stairs(Stairs)
-
-