Interface Phase.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Phase.Builder,
,Phase> SdkBuilder<Phase.Builder,
,Phase> SdkPojo
- Enclosing class:
Phase
-
Method Summary
Modifier and TypeMethodDescriptiondurationInSeconds
(Integer durationInSeconds) Specifies how long a traffic phase should be.initialNumberOfUsers
(Integer initialNumberOfUsers) Specifies how many concurrent users to start with.Specified how many new users to spawn in a minute.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 Details
-
initialNumberOfUsers
Specifies how many concurrent users to start with. The value should be between 1 and 3.
- Parameters:
initialNumberOfUsers
- Specifies how many concurrent users to start with. The value should be between 1 and 3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spawnRate
Specified how many new users to spawn in a minute.
- Parameters:
spawnRate
- Specified how many new users to spawn in a minute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationInSeconds
Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed
JobDurationInSeconds
.- Parameters:
durationInSeconds
- Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceedJobDurationInSeconds
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-