@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrafficPattern extends Object implements Serializable, Cloneable, StructuredPojo
Defines the traffic pattern of the load test.
| Constructor and Description |
|---|
TrafficPattern() |
| Modifier and Type | Method and Description |
|---|---|
TrafficPattern |
clone() |
boolean |
equals(Object obj) |
List<Phase> |
getPhases()
Defines the phases traffic specification.
|
String |
getTrafficType()
Defines the traffic patterns.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPhases(Collection<Phase> phases)
Defines the phases traffic specification.
|
void |
setTrafficType(String trafficType)
Defines the traffic patterns.
|
String |
toString()
Returns a string representation of this object.
|
TrafficPattern |
withPhases(Collection<Phase> phases)
Defines the phases traffic specification.
|
TrafficPattern |
withPhases(Phase... phases)
Defines the phases traffic specification.
|
TrafficPattern |
withTrafficType(String trafficType)
Defines the traffic patterns.
|
TrafficPattern |
withTrafficType(TrafficType trafficType)
Defines the traffic patterns.
|
public void setTrafficType(String trafficType)
Defines the traffic patterns.
trafficType - Defines the traffic patterns.TrafficTypepublic String getTrafficType()
Defines the traffic patterns.
TrafficTypepublic TrafficPattern withTrafficType(String trafficType)
Defines the traffic patterns.
trafficType - Defines the traffic patterns.TrafficTypepublic TrafficPattern withTrafficType(TrafficType trafficType)
Defines the traffic patterns.
trafficType - Defines the traffic patterns.TrafficTypepublic List<Phase> getPhases()
Defines the phases traffic specification.
public void setPhases(Collection<Phase> phases)
Defines the phases traffic specification.
phases - Defines the phases traffic specification.public TrafficPattern withPhases(Phase... phases)
Defines the phases traffic specification.
NOTE: This method appends the values to the existing list (if any). Use
setPhases(java.util.Collection) or withPhases(java.util.Collection) if you want to override the
existing values.
phases - Defines the phases traffic specification.public TrafficPattern withPhases(Collection<Phase> phases)
Defines the phases traffic specification.
phases - Defines the phases traffic specification.public String toString()
toString in class ObjectObject.toString()public TrafficPattern clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.