public static interface EdgeStatistics.Builder extends CopyableBuilder<EdgeStatistics.Builder,EdgeStatistics>
Modifier and Type | Method and Description |
---|---|
default EdgeStatistics.Builder |
errorStatistics(Consumer<ErrorStatistics.Builder> errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
|
EdgeStatistics.Builder |
errorStatistics(ErrorStatistics errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
|
default EdgeStatistics.Builder |
faultStatistics(Consumer<FaultStatistics.Builder> faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
|
EdgeStatistics.Builder |
faultStatistics(FaultStatistics faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
|
EdgeStatistics.Builder |
okCount(Long okCount)
The number of requests that completed with a 2xx Success status code.
|
EdgeStatistics.Builder |
totalCount(Long totalCount)
The total number of completed requests.
|
EdgeStatistics.Builder |
totalResponseTime(Double totalResponseTime)
The aggregate response time of completed requests.
|
copy
apply, build
EdgeStatistics.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.EdgeStatistics.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 EdgeStatistics.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.Builder
errorStatistics(ErrorStatistics)
EdgeStatistics.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 EdgeStatistics.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.Builder
faultStatistics(FaultStatistics)
EdgeStatistics.Builder totalCount(Long totalCount)
The total number of completed requests.
totalCount
- The total number of completed requests.EdgeStatistics.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.