Interface EdgeStatistics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EdgeStatistics.Builder,
,EdgeStatistics> SdkBuilder<EdgeStatistics.Builder,
,EdgeStatistics> SdkPojo
- Enclosing class:
EdgeStatistics
-
Method Summary
Modifier and TypeMethodDescriptiondefault EdgeStatistics.Builder
errorStatistics
(Consumer<ErrorStatistics.Builder> errorStatistics) Information about requests that failed with a 4xx Client Error status code.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.faultStatistics
(FaultStatistics faultStatistics) Information about requests that failed with a 5xx Server Error status code.The number of requests that completed with a 2xx Success status code.totalCount
(Long totalCount) The total number of completed requests.totalResponseTime
(Double totalResponseTime) The aggregate response time of completed requests.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
okCount
The number of requests that completed with a 2xx Success status code.
- Parameters:
okCount
- The number of requests that completed with a 2xx Success status code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorStatistics
Information about requests that failed with a 4xx Client Error status code.
- Parameters:
errorStatistics
- Information about requests that failed with a 4xx Client Error status code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorStatistics
Information about requests that failed with a 4xx Client Error status code.
This is a convenience method that creates an instance of theErrorStatistics.Builder
avoiding the need to create one manually viaErrorStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorStatistics(ErrorStatistics)
.- Parameters:
errorStatistics
- a consumer that will call methods onErrorStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
faultStatistics
Information about requests that failed with a 5xx Server Error status code.
- Parameters:
faultStatistics
- Information about requests that failed with a 5xx Server Error status code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faultStatistics
Information about requests that failed with a 5xx Server Error status code.
This is a convenience method that creates an instance of theFaultStatistics.Builder
avoiding the need to create one manually viaFaultStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofaultStatistics(FaultStatistics)
.- Parameters:
faultStatistics
- a consumer that will call methods onFaultStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalCount
The total number of completed requests.
- Parameters:
totalCount
- The total number of completed requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalResponseTime
The aggregate response time of completed requests.
- Parameters:
totalResponseTime
- The aggregate response time of completed requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-