public static interface ServiceStatistics.Builder extends CopyableBuilder<ServiceStatistics.Builder,ServiceStatistics>
| Modifier and Type | Method and Description |
|---|---|
default ServiceStatistics.Builder |
errorStatistics(Consumer<ErrorStatistics.Builder> errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
|
ServiceStatistics.Builder |
errorStatistics(ErrorStatistics errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
|
default ServiceStatistics.Builder |
faultStatistics(Consumer<FaultStatistics.Builder> faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
|
ServiceStatistics.Builder |
faultStatistics(FaultStatistics faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
|
ServiceStatistics.Builder |
okCount(Long okCount)
The number of requests that completed with a 2xx Success status code.
|
ServiceStatistics.Builder |
totalCount(Long totalCount)
The total number of completed requests.
|
ServiceStatistics.Builder |
totalResponseTime(Double totalResponseTime)
The aggregate response time of completed requests.
|
copyapply, buildServiceStatistics.Builder okCount(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.ServiceStatistics.Builder errorStatistics(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.default ServiceStatistics.Builder errorStatistics(Consumer<ErrorStatistics.Builder> errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
This is a convenience that creates an instance of theErrorStatistics.Builder avoiding the need to
create one manually via ErrorStatistics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to errorStatistics(ErrorStatistics).errorStatistics - a consumer that will call methods on ErrorStatistics.BuildererrorStatistics(ErrorStatistics)ServiceStatistics.Builder faultStatistics(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.default ServiceStatistics.Builder faultStatistics(Consumer<FaultStatistics.Builder> faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
This is a convenience that creates an instance of theFaultStatistics.Builder avoiding the need to
create one manually via FaultStatistics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to faultStatistics(FaultStatistics).faultStatistics - a consumer that will call methods on FaultStatistics.BuilderfaultStatistics(FaultStatistics)ServiceStatistics.Builder totalCount(Long totalCount)
The total number of completed requests.
totalCount - The total number of completed requests.ServiceStatistics.Builder totalResponseTime(Double totalResponseTime)
The aggregate response time of completed requests.
totalResponseTime - The aggregate response time of completed requests.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.