Class CfnStage.MethodSettingProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnStage.MethodSettingProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnStage.MethodSettingProperty
CfnStage.MethodSettingProperty-
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.apigateway.CfnStage.MethodSettingProperty
CfnStage.MethodSettingProperty.Builder, CfnStage.MethodSettingProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnStage.MethodSettingProperty.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 ObjectSpecifies whether the cached responses are encrypted.final NumberSpecifies the time to live (TTL), in seconds, for cached responses.final ObjectSpecifies whether responses should be cached and returned for requests.final ObjectSpecifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs.final StringThe HTTP method.final StringSpecifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs.final ObjectSpecifies whether Amazon CloudWatch metrics are enabled for this method.final StringThe resource path for this method.final NumberSpecifies the throttling burst limit.final NumberSpecifies the throttling rate limit.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 theCfnStage.MethodSettingProperty.Builder.
-
-
Method Details
-
getCacheDataEncrypted
Description copied from interface:CfnStage.MethodSettingPropertySpecifies whether the cached responses are encrypted.- Specified by:
getCacheDataEncryptedin interfaceCfnStage.MethodSettingProperty- See Also:
-
getCacheTtlInSeconds
Description copied from interface:CfnStage.MethodSettingPropertySpecifies the time to live (TTL), in seconds, for cached responses.The higher the TTL, the longer the response will be cached.
- Specified by:
getCacheTtlInSecondsin interfaceCfnStage.MethodSettingProperty- See Also:
-
getCachingEnabled
Description copied from interface:CfnStage.MethodSettingPropertySpecifies whether responses should be cached and returned for requests.A cache cluster must be enabled on the stage for responses to be cached.
- Specified by:
getCachingEnabledin interfaceCfnStage.MethodSettingProperty- See Also:
-
getDataTraceEnabled
Description copied from interface:CfnStage.MethodSettingPropertySpecifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs.This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.
- Specified by:
getDataTraceEnabledin interfaceCfnStage.MethodSettingProperty- See Also:
-
getHttpMethod
Description copied from interface:CfnStage.MethodSettingPropertyThe HTTP method.To apply settings to multiple resources and methods, specify an asterisk (
*) for theHttpMethodand/*for theResourcePath. This parameter is required when you specify aMethodSetting.- Specified by:
getHttpMethodin interfaceCfnStage.MethodSettingProperty- See Also:
-
getLoggingLevel
Description copied from interface:CfnStage.MethodSettingPropertySpecifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs.Valid values are
OFF,ERROR, andINFO. ChooseERRORto write only error-level entries to CloudWatch Logs, or chooseINFOto include allERRORevents as well as extra informational events.- Specified by:
getLoggingLevelin interfaceCfnStage.MethodSettingProperty- See Also:
-
getMetricsEnabled
Description copied from interface:CfnStage.MethodSettingPropertySpecifies whether Amazon CloudWatch metrics are enabled for this method.- Specified by:
getMetricsEnabledin interfaceCfnStage.MethodSettingProperty- See Also:
-
getResourcePath
Description copied from interface:CfnStage.MethodSettingPropertyThe resource path for this method.Forward slashes (
/) are encoded as~1and the initial slash must include a forward slash. For example, the path value/resource/subresourcemust be encoded as/~1resource~1subresource. To specify the root path, use only a slash (/). To apply settings to multiple resources and methods, specify an asterisk (*) for theHttpMethodand/*for theResourcePath. This parameter is required when you specify aMethodSetting.- Specified by:
getResourcePathin interfaceCfnStage.MethodSettingProperty- See Also:
-
getThrottlingBurstLimit
Description copied from interface:CfnStage.MethodSettingPropertySpecifies the throttling burst limit.- Specified by:
getThrottlingBurstLimitin interfaceCfnStage.MethodSettingProperty- See Also:
-
getThrottlingRateLimit
Description copied from interface:CfnStage.MethodSettingPropertySpecifies the throttling rate limit.- Specified by:
getThrottlingRateLimitin interfaceCfnStage.MethodSettingProperty- See Also:
-
$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()
-