public class RequestsPerSecond extends AbstractModel
header, skipSign| Constructor and Description |
|---|
RequestsPerSecond() |
RequestsPerSecond(RequestsPerSecond source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getDurationSeconds()
Get Duration time.
|
Long |
getGracefulStopSeconds()
Get Graceful shutdown waiting time.
|
Long |
getMaxRequestsPerSecond()
Get Maximum rps.
|
Long |
getResources()
Get Number of resources.
|
Long |
getStartRequestsPerSecond()
Get Initial rps.
|
Long |
getTargetRequestsPerSecond()
Get Target rps, invalid as an input parameter.
|
Long |
getTargetVirtualUsers()
Get Deprecated.
|
void |
setDurationSeconds(Long DurationSeconds)
Set Duration time.
|
void |
setGracefulStopSeconds(Long GracefulStopSeconds)
Set Graceful shutdown waiting time.
|
void |
setMaxRequestsPerSecond(Long MaxRequestsPerSecond)
Set Maximum rps.
|
void |
setResources(Long Resources)
Set Number of resources.
|
void |
setStartRequestsPerSecond(Long StartRequestsPerSecond)
Set Initial rps.
|
void |
setTargetRequestsPerSecond(Long TargetRequestsPerSecond)
Set Target rps, invalid as an input parameter.
|
void |
setTargetVirtualUsers(Long TargetVirtualUsers)
Set Deprecated.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RequestsPerSecond()
public RequestsPerSecond(RequestsPerSecond source)
public Long getMaxRequestsPerSecond()
public void setMaxRequestsPerSecond(Long MaxRequestsPerSecond)
MaxRequestsPerSecond - Maximum rps.
Note: This field may return null, indicating that no valid value is found.public Long getDurationSeconds()
public void setDurationSeconds(Long DurationSeconds)
DurationSeconds - Duration time.
Note: This field may return null, indicating that no valid value is found.public Long getTargetVirtualUsers()
public void setTargetVirtualUsers(Long TargetVirtualUsers)
TargetVirtualUsers - Deprecated.
Note: This field may return null, indicating that no valid value is found.public Long getResources()
public void setResources(Long Resources)
Resources - Number of resources.
Note: This field may return null, indicating that no valid value is found.public Long getStartRequestsPerSecond()
public void setStartRequestsPerSecond(Long StartRequestsPerSecond)
StartRequestsPerSecond - Initial rps.
Note: This field may return null, indicating that no valid value is found.public Long getTargetRequestsPerSecond()
public void setTargetRequestsPerSecond(Long TargetRequestsPerSecond)
TargetRequestsPerSecond - Target rps, invalid as an input parameter.
Note: This field may return null, indicating that no valid value is found.public Long getGracefulStopSeconds()
public void setGracefulStopSeconds(Long GracefulStopSeconds)
GracefulStopSeconds - Graceful shutdown waiting time.
Note: This field may return null, indicating that no valid value is found.Copyright © 2025. All rights reserved.