Class CfnSamplingRule.SamplingRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.xray.CfnSamplingRule.SamplingRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnSamplingRule.SamplingRuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnSamplingRule.SamplingRuleProperty
@Stability(Stable)
@Internal
public static final class CfnSamplingRule.SamplingRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnSamplingRule.SamplingRuleProperty
An implementation for
CfnSamplingRule.SamplingRuleProperty-
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.xray.CfnSamplingRule.SamplingRuleProperty
CfnSamplingRule.SamplingRuleProperty.Builder, CfnSamplingRule.SamplingRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnSamplingRule.SamplingRuleProperty.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 ObjectMatches attributes derived from the request.final NumberThe percentage of matching requests to instrument, after the reservoir is exhausted.final StringgetHost()Matches the hostname from a request URL.final StringMatches the HTTP method of a request.final NumberThe priority of the sampling rule.final NumberA fixed number of matching requests to instrument per second, prior to applying the fixed rate.final StringMatches the ARN of the AWS resource on which the service runs.final StringThe ARN of the sampling rule.final StringThe name of the sampling rule.final StringMatches thenamethat the service uses to identify itself in segments.final StringMatches theoriginthat the service uses to identify its type in segments.final StringMatches the path from a request URL.final NumberThe version of the sampling rule.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 theCfnSamplingRule.SamplingRuleProperty.Builder.
-
-
Method Details
-
getFixedRate
Description copied from interface:CfnSamplingRule.SamplingRulePropertyThe percentage of matching requests to instrument, after the reservoir is exhausted.- Specified by:
getFixedRatein interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getHost
Description copied from interface:CfnSamplingRule.SamplingRulePropertyMatches the hostname from a request URL.- Specified by:
getHostin interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getHttpMethod
Description copied from interface:CfnSamplingRule.SamplingRulePropertyMatches the HTTP method of a request.- Specified by:
getHttpMethodin interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getPriority
Description copied from interface:CfnSamplingRule.SamplingRulePropertyThe priority of the sampling rule.- Specified by:
getPriorityin interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getReservoirSize
Description copied from interface:CfnSamplingRule.SamplingRulePropertyA fixed number of matching requests to instrument per second, prior to applying the fixed rate.The reservoir is not used directly by services, but applies to all services using the rule collectively.
- Specified by:
getReservoirSizein interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getResourceArn
Description copied from interface:CfnSamplingRule.SamplingRulePropertyMatches the ARN of the AWS resource on which the service runs.- Specified by:
getResourceArnin interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getServiceName
Description copied from interface:CfnSamplingRule.SamplingRulePropertyMatches thenamethat the service uses to identify itself in segments.- Specified by:
getServiceNamein interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getServiceType
Description copied from interface:CfnSamplingRule.SamplingRulePropertyMatches theoriginthat the service uses to identify its type in segments.- Specified by:
getServiceTypein interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getUrlPath
Description copied from interface:CfnSamplingRule.SamplingRulePropertyMatches the path from a request URL.- Specified by:
getUrlPathin interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getAttributes
Description copied from interface:CfnSamplingRule.SamplingRulePropertyMatches attributes derived from the request.Map Entries: Maximum number of 5 items.
Key Length Constraints: Minimum length of 1. Maximum length of 32.
Value Length Constraints: Minimum length of 1. Maximum length of 32.
Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- Specified by:
getAttributesin interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getRuleArn
Description copied from interface:CfnSamplingRule.SamplingRulePropertyThe ARN of the sampling rule. Specify a rule by either name or ARN, but not both.Specifying a sampling rule by name is recommended, as specifying by ARN will be deprecated in future.
- Specified by:
getRuleArnin interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getRuleName
Description copied from interface:CfnSamplingRule.SamplingRulePropertyThe name of the sampling rule.Specify a rule by either name or ARN, but not both.
- Specified by:
getRuleNamein interfaceCfnSamplingRule.SamplingRuleProperty- See Also:
-
getVersion
Description copied from interface:CfnSamplingRule.SamplingRulePropertyThe version of the sampling rule.Versioncan only be set when creating a new sampling rule.- Specified by:
getVersionin interfaceCfnSamplingRule.SamplingRuleProperty- 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()
-