| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudfront.model |
| Modifier and Type | Method and Description |
|---|---|
static ResponseHeadersPolicyServerTimingHeadersConfig.Builder |
ResponseHeadersPolicyServerTimingHeadersConfig.builder() |
ResponseHeadersPolicyServerTimingHeadersConfig.Builder |
ResponseHeadersPolicyServerTimingHeadersConfig.Builder.enabled(Boolean enabled)
A Boolean that determines whether CloudFront adds the
Server-Timing header to HTTP responses
that it sends in response to requests that match a cache behavior that's associated with this response
headers policy. |
ResponseHeadersPolicyServerTimingHeadersConfig.Builder |
ResponseHeadersPolicyServerTimingHeadersConfig.Builder.samplingRate(Double samplingRate)
A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the
Server-Timing header to. |
ResponseHeadersPolicyServerTimingHeadersConfig.Builder |
ResponseHeadersPolicyServerTimingHeadersConfig.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends ResponseHeadersPolicyServerTimingHeadersConfig.Builder> |
ResponseHeadersPolicyServerTimingHeadersConfig.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default ResponseHeadersPolicyConfig.Builder |
ResponseHeadersPolicyConfig.Builder.serverTimingHeadersConfig(Consumer<ResponseHeadersPolicyServerTimingHeadersConfig.Builder> serverTimingHeadersConfig)
A configuration for enabling the
Server-Timing header in HTTP responses sent from CloudFront. |
Copyright © 2023. All rights reserved.