@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceStatistics extends Object implements Serializable, Cloneable, StructuredPojo
Response statistics for a service.
Constructor and Description |
---|
ServiceStatistics() |
Modifier and Type | Method and Description |
---|---|
ServiceStatistics |
clone() |
boolean |
equals(Object obj) |
ErrorStatistics |
getErrorStatistics()
Information about requests that failed with a 4xx Client Error status code.
|
FaultStatistics |
getFaultStatistics()
Information about requests that failed with a 5xx Server Error status code.
|
Long |
getOkCount()
The number of requests that completed with a 2xx Success status code.
|
Long |
getTotalCount()
The total number of completed requests.
|
Double |
getTotalResponseTime()
The aggregate response time of completed requests.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorStatistics(ErrorStatistics errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
|
void |
setFaultStatistics(FaultStatistics faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
|
void |
setOkCount(Long okCount)
The number of requests that completed with a 2xx Success status code.
|
void |
setTotalCount(Long totalCount)
The total number of completed requests.
|
void |
setTotalResponseTime(Double totalResponseTime)
The aggregate response time of completed requests.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ServiceStatistics |
withErrorStatistics(ErrorStatistics errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
|
ServiceStatistics |
withFaultStatistics(FaultStatistics faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
|
ServiceStatistics |
withOkCount(Long okCount)
The number of requests that completed with a 2xx Success status code.
|
ServiceStatistics |
withTotalCount(Long totalCount)
The total number of completed requests.
|
ServiceStatistics |
withTotalResponseTime(Double totalResponseTime)
The aggregate response time of completed requests.
|
public void setOkCount(Long okCount)
The number of requests that completed with a 2xx Success status code.
okCount
- The number of requests that completed with a 2xx Success status code.public Long getOkCount()
The number of requests that completed with a 2xx Success status code.
public ServiceStatistics withOkCount(Long okCount)
The number of requests that completed with a 2xx Success status code.
okCount
- The number of requests that completed with a 2xx Success status code.public void setErrorStatistics(ErrorStatistics errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
errorStatistics
- Information about requests that failed with a 4xx Client Error status code.public ErrorStatistics getErrorStatistics()
Information about requests that failed with a 4xx Client Error status code.
public ServiceStatistics withErrorStatistics(ErrorStatistics errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
errorStatistics
- Information about requests that failed with a 4xx Client Error status code.public void setFaultStatistics(FaultStatistics faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
faultStatistics
- Information about requests that failed with a 5xx Server Error status code.public FaultStatistics getFaultStatistics()
Information about requests that failed with a 5xx Server Error status code.
public ServiceStatistics withFaultStatistics(FaultStatistics faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
faultStatistics
- Information about requests that failed with a 5xx Server Error status code.public void setTotalCount(Long totalCount)
The total number of completed requests.
totalCount
- The total number of completed requests.public Long getTotalCount()
The total number of completed requests.
public ServiceStatistics withTotalCount(Long totalCount)
The total number of completed requests.
totalCount
- The total number of completed requests.public void setTotalResponseTime(Double totalResponseTime)
The aggregate response time of completed requests.
totalResponseTime
- The aggregate response time of completed requests.public Double getTotalResponseTime()
The aggregate response time of completed requests.
public ServiceStatistics withTotalResponseTime(Double totalResponseTime)
The aggregate response time of completed requests.
totalResponseTime
- The aggregate response time of completed requests.public String toString()
toString
in class Object
Object.toString()
public ServiceStatistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.