Interface EdgeStatistics.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EdgeStatistics.Builder,EdgeStatistics>,SdkBuilder<EdgeStatistics.Builder,EdgeStatistics>,SdkPojo
- Enclosing class:
- EdgeStatistics
@Mutable @NotThreadSafe public static interface EdgeStatistics.Builder extends SdkPojo, CopyableBuilder<EdgeStatistics.Builder,EdgeStatistics>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EdgeStatistics.BuildererrorStatistics(Consumer<ErrorStatistics.Builder> errorStatistics)Information about requests that failed with a 4xx Client Error status code.EdgeStatistics.BuildererrorStatistics(ErrorStatistics errorStatistics)Information about requests that failed with a 4xx Client Error status code.default EdgeStatistics.BuilderfaultStatistics(Consumer<FaultStatistics.Builder> faultStatistics)Information about requests that failed with a 5xx Server Error status code.EdgeStatistics.BuilderfaultStatistics(FaultStatistics faultStatistics)Information about requests that failed with a 5xx Server Error status code.EdgeStatistics.BuilderokCount(Long okCount)The number of requests that completed with a 2xx Success status code.EdgeStatistics.BuildertotalCount(Long totalCount)The total number of completed requests.EdgeStatistics.BuildertotalResponseTime(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
okCount
EdgeStatistics.Builder okCount(Long 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
EdgeStatistics.Builder errorStatistics(ErrorStatistics 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
default EdgeStatistics.Builder errorStatistics(Consumer<ErrorStatistics.Builder> errorStatistics)
Information about requests that failed with a 4xx Client Error status code.
This is a convenience method that creates an instance of theErrorStatistics.Builderavoiding the need to create one manually viaErrorStatistics.builder().When the
Consumercompletes,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:
errorStatistics(ErrorStatistics)
-
faultStatistics
EdgeStatistics.Builder faultStatistics(FaultStatistics 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
default EdgeStatistics.Builder faultStatistics(Consumer<FaultStatistics.Builder> faultStatistics)
Information about requests that failed with a 5xx Server Error status code.
This is a convenience method that creates an instance of theFaultStatistics.Builderavoiding the need to create one manually viaFaultStatistics.builder().When the
Consumercompletes,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:
faultStatistics(FaultStatistics)
-
totalCount
EdgeStatistics.Builder totalCount(Long 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
EdgeStatistics.Builder totalResponseTime(Double 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.
-
-