Class ResponseHeadersPolicyServerTimingHeadersConfig
- java.lang.Object
-
- com.pulumi.aws.cloudfront.outputs.ResponseHeadersPolicyServerTimingHeadersConfig
-
public final class ResponseHeadersPolicyServerTimingHeadersConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponseHeadersPolicyServerTimingHeadersConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseHeadersPolicyServerTimingHeadersConfig.Builderbuilder()static ResponseHeadersPolicyServerTimingHeadersConfig.Builderbuilder(ResponseHeadersPolicyServerTimingHeadersConfig defaults)java.lang.Booleanenabled()java.lang.DoublesamplingRate()
-
-
-
Method Detail
-
enabled
public java.lang.Boolean enabled()
- Returns:
- A 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.
-
samplingRate
public java.lang.Double samplingRate()
- Returns:
- A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timing header to. Valid range: Minimum value of 0.0. Maximum value of 100.0.
-
builder
public static ResponseHeadersPolicyServerTimingHeadersConfig.Builder builder()
-
builder
public static ResponseHeadersPolicyServerTimingHeadersConfig.Builder builder(ResponseHeadersPolicyServerTimingHeadersConfig defaults)
-
-