Class UsageAnalyticsResponse.Cache.Builder
-
- All Implemented Interfaces:
public final class UsageAnalyticsResponse.Cache.BuilderA builder for Cache.
-
-
Method Summary
-
-
Method Detail
-
errorCount
final UsageAnalyticsResponse.Cache.Builder errorCount(Double errorCount)
Number of requests where the CDN encountered a cache error or exceeded capacity while serving the response.
-
errorCount
final UsageAnalyticsResponse.Cache.Builder errorCount(JsonField<Double> errorCount)
Sets Builder.errorCount to an arbitrary JSON value.
You should usually call Builder.errorCount with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hitCount
final UsageAnalyticsResponse.Cache.Builder hitCount(Double hitCount)
Number of requests served from cache, including full hits and revalidated hits.
-
hitCount
final UsageAnalyticsResponse.Cache.Builder hitCount(JsonField<Double> hitCount)
Sets Builder.hitCount to an arbitrary JSON value.
You should usually call Builder.hitCount with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
missCount
final UsageAnalyticsResponse.Cache.Builder missCount(Double missCount)
Number of requests that were not found in cache and had to be fetched from origin.
-
missCount
final UsageAnalyticsResponse.Cache.Builder missCount(JsonField<Double> missCount)
Sets Builder.missCount to an arbitrary JSON value.
You should usually call Builder.missCount with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UsageAnalyticsResponse.Cache.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UsageAnalyticsResponse.Cache.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UsageAnalyticsResponse.Cache.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UsageAnalyticsResponse.Cache.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UsageAnalyticsResponse.Cache.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UsageAnalyticsResponse.Cache build()
Returns an immutable instance of Cache.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.errorCount() .hitCount() .missCount()
-
-
-
-