@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Stairs extends Object implements Serializable, Cloneable, StructuredPojo
Defines the stairs traffic pattern for an Inference Recommender load test. This pattern type consists of multiple steps where the number of users increases at each step.
Specify either the stairs or phases traffic pattern.
Constructor and Description |
---|
Stairs() |
Modifier and Type | Method and Description |
---|---|
Stairs |
clone() |
boolean |
equals(Object obj) |
Integer |
getDurationInSeconds()
Defines how long each traffic step should be.
|
Integer |
getNumberOfSteps()
Specifies how many steps to perform during traffic.
|
Integer |
getUsersPerStep()
Specifies how many new users to spawn in each step.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDurationInSeconds(Integer durationInSeconds)
Defines how long each traffic step should be.
|
void |
setNumberOfSteps(Integer numberOfSteps)
Specifies how many steps to perform during traffic.
|
void |
setUsersPerStep(Integer usersPerStep)
Specifies how many new users to spawn in each step.
|
String |
toString()
Returns a string representation of this object.
|
Stairs |
withDurationInSeconds(Integer durationInSeconds)
Defines how long each traffic step should be.
|
Stairs |
withNumberOfSteps(Integer numberOfSteps)
Specifies how many steps to perform during traffic.
|
Stairs |
withUsersPerStep(Integer usersPerStep)
Specifies how many new users to spawn in each step.
|
public void setDurationInSeconds(Integer durationInSeconds)
Defines how long each traffic step should be.
durationInSeconds
- Defines how long each traffic step should be.public Integer getDurationInSeconds()
Defines how long each traffic step should be.
public Stairs withDurationInSeconds(Integer durationInSeconds)
Defines how long each traffic step should be.
durationInSeconds
- Defines how long each traffic step should be.public void setNumberOfSteps(Integer numberOfSteps)
Specifies how many steps to perform during traffic.
numberOfSteps
- Specifies how many steps to perform during traffic.public Integer getNumberOfSteps()
Specifies how many steps to perform during traffic.
public Stairs withNumberOfSteps(Integer numberOfSteps)
Specifies how many steps to perform during traffic.
numberOfSteps
- Specifies how many steps to perform during traffic.public void setUsersPerStep(Integer usersPerStep)
Specifies how many new users to spawn in each step.
usersPerStep
- Specifies how many new users to spawn in each step.public Integer getUsersPerStep()
Specifies how many new users to spawn in each step.
public Stairs withUsersPerStep(Integer usersPerStep)
Specifies how many new users to spawn in each step.
usersPerStep
- Specifies how many new users to spawn in each step.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.