Package | Description |
---|---|
com.amazonaws.services.cloudfront.model |
Modifier and Type | Method and Description |
---|---|
ResponseHeadersPolicyServerTimingHeadersConfig |
ResponseHeadersPolicyServerTimingHeadersConfig.clone() |
ResponseHeadersPolicyServerTimingHeadersConfig |
ResponseHeadersPolicyConfig.getServerTimingHeadersConfig()
A configuration for enabling the
Server-Timing header in HTTP responses sent from CloudFront. |
ResponseHeadersPolicyServerTimingHeadersConfig |
ResponseHeadersPolicyServerTimingHeadersConfig.withEnabled(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 |
ResponseHeadersPolicyServerTimingHeadersConfig.withSamplingRate(Double samplingRate)
A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the
Server-Timing header to. |
Modifier and Type | Method and Description |
---|---|
void |
ResponseHeadersPolicyConfig.setServerTimingHeadersConfig(ResponseHeadersPolicyServerTimingHeadersConfig serverTimingHeadersConfig)
A configuration for enabling the
Server-Timing header in HTTP responses sent from CloudFront. |
ResponseHeadersPolicyConfig |
ResponseHeadersPolicyConfig.withServerTimingHeadersConfig(ResponseHeadersPolicyServerTimingHeadersConfig serverTimingHeadersConfig)
A configuration for enabling the
Server-Timing header in HTTP responses sent from CloudFront. |
Copyright © 2023. All rights reserved.