@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelLatencyThreshold extends Object implements Serializable, Cloneable, StructuredPojo
The model latency threshold.
Constructor and Description |
---|
ModelLatencyThreshold() |
Modifier and Type | Method and Description |
---|---|
ModelLatencyThreshold |
clone() |
boolean |
equals(Object obj) |
String |
getPercentile()
The model latency percentile threshold.
|
Integer |
getValueInMilliseconds()
The model latency percentile value in milliseconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPercentile(String percentile)
The model latency percentile threshold.
|
void |
setValueInMilliseconds(Integer valueInMilliseconds)
The model latency percentile value in milliseconds.
|
String |
toString()
Returns a string representation of this object.
|
ModelLatencyThreshold |
withPercentile(String percentile)
The model latency percentile threshold.
|
ModelLatencyThreshold |
withValueInMilliseconds(Integer valueInMilliseconds)
The model latency percentile value in milliseconds.
|
public void setPercentile(String percentile)
The model latency percentile threshold. For custom load tests, specify the value as P95
.
percentile
- The model latency percentile threshold. For custom load tests, specify the value as P95
.public String getPercentile()
The model latency percentile threshold. For custom load tests, specify the value as P95
.
P95
.public ModelLatencyThreshold withPercentile(String percentile)
The model latency percentile threshold. For custom load tests, specify the value as P95
.
percentile
- The model latency percentile threshold. For custom load tests, specify the value as P95
.public void setValueInMilliseconds(Integer valueInMilliseconds)
The model latency percentile value in milliseconds.
valueInMilliseconds
- The model latency percentile value in milliseconds.public Integer getValueInMilliseconds()
The model latency percentile value in milliseconds.
public ModelLatencyThreshold withValueInMilliseconds(Integer valueInMilliseconds)
The model latency percentile value in milliseconds.
valueInMilliseconds
- The model latency percentile value in milliseconds.public String toString()
toString
in class Object
Object.toString()
public ModelLatencyThreshold clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.