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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Builder, CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectA Boolean that determines whether CloudFront adds theServer-Timingheader to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.final NumberA number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add theServer-Timingheader to.final inthashCode()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.ServerTimingHeadersConfigPropertyA Boolean that determines whether CloudFront adds theServer-Timingheader 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:
getEnabledin interfaceCfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
-
getSamplingRate
Description copied from interface:CfnResponseHeadersPolicy.ServerTimingHeadersConfigPropertyA number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add theServer-Timingheader to.When you set the sampling rate to 100, CloudFront adds the
Server-Timingheader 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:
getSamplingRatein interfaceCfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-