@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EdgeStatistics extends Object implements Serializable, Cloneable, StructuredPojo
Response statistics for an edge.
Constructor and Description |
---|
EdgeStatistics() |
Modifier and Type | Method and Description |
---|---|
EdgeStatistics |
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.
|
EdgeStatistics |
withErrorStatistics(ErrorStatistics errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
|
EdgeStatistics |
withFaultStatistics(FaultStatistics faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
|
EdgeStatistics |
withOkCount(Long okCount)
The number of requests that completed with a 2xx Success status code.
|
EdgeStatistics |
withTotalCount(Long totalCount)
The total number of completed requests.
|
EdgeStatistics |
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 EdgeStatistics 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 EdgeStatistics 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 EdgeStatistics 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 EdgeStatistics 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 EdgeStatistics 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 EdgeStatistics 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.