Class CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
@Stability(Stable)
@Internal
public static final class CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
An implementation for
CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Builder, CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Object
A Boolean that determines whether CloudFront adds theServer-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.final Number
A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add theServer-Timing
header to.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Builder
.
-
-
Method Details
-
getEnabled
Description copied from interface:CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
A Boolean that determines whether CloudFront adds theServer-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.- Specified by:
getEnabled
in interfaceCfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
-
getSamplingRate
Description copied from interface:CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add theServer-Timing
header to.When you set the sampling rate to 100, CloudFront adds the
Server-Timing
header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.- Specified by:
getSamplingRate
in interfaceCfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-