Interface Phase.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Phase.Builder,Phase>
,SdkBuilder<Phase.Builder,Phase>
,SdkPojo
- Enclosing class:
- Phase
public static interface Phase.Builder extends SdkPojo, CopyableBuilder<Phase.Builder,Phase>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Phase.Builder
durationInSeconds(Integer durationInSeconds)
Specifies how long a traffic phase should be.Phase.Builder
initialNumberOfUsers(Integer initialNumberOfUsers)
Specifies how many concurrent users to start with.Phase.Builder
spawnRate(Integer spawnRate)
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 Detail
-
initialNumberOfUsers
Phase.Builder initialNumberOfUsers(Integer 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
Phase.Builder spawnRate(Integer 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
Phase.Builder durationInSeconds(Integer 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.
-
-