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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.xray.CfnSamplingRule.SamplingRuleProperty
CfnSamplingRule.SamplingRuleProperty.Builder, CfnSamplingRule.SamplingRuleProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnSamplingRule.SamplingRuleProperty.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
Matches attributes derived from the request.final Number
The percentage of matching requests to instrument, after the reservoir is exhausted.final String
getHost()
Matches the hostname from a request URL.final String
Matches the HTTP method of a request.final Number
The priority of the sampling rule.final Number
A fixed number of matching requests to instrument per second, prior to applying the fixed rate.final String
Matches the ARN of the AWS resource on which the service runs.final String
The ARN of the sampling rule.final String
The name of the sampling rule.final String
Matches thename
that the service uses to identify itself in segments.final String
Matches theorigin
that the service uses to identify its type in segments.final String
Matches the path from a request URL.final Number
The version of the sampling rule.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 theCfnSamplingRule.SamplingRuleProperty.Builder
.
-
-
Method Details
-
getFixedRate
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
The percentage of matching requests to instrument, after the reservoir is exhausted.- Specified by:
getFixedRate
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getHost
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
Matches the hostname from a request URL.- Specified by:
getHost
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getHttpMethod
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
Matches the HTTP method of a request.- Specified by:
getHttpMethod
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getPriority
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
The priority of the sampling rule.- Specified by:
getPriority
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getReservoirSize
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
A 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:
getReservoirSize
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getResourceArn
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
Matches the ARN of the AWS resource on which the service runs.- Specified by:
getResourceArn
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getServiceName
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
Matches thename
that the service uses to identify itself in segments.- Specified by:
getServiceName
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getServiceType
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
Matches theorigin
that the service uses to identify its type in segments.- Specified by:
getServiceType
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getUrlPath
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
Matches the path from a request URL.- Specified by:
getUrlPath
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getAttributes
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
Matches 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.
- Specified by:
getAttributes
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getRuleArn
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
The 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:
getRuleArn
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getRuleName
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
The name of the sampling rule.Specify a rule by either name or ARN, but not both.
- Specified by:
getRuleName
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
getVersion
Description copied from interface:CfnSamplingRule.SamplingRuleProperty
The version of the sampling rule.Version
can only be set when creating a new sampling rule.- Specified by:
getVersion
in interfaceCfnSamplingRule.SamplingRuleProperty
- See Also:
-
$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()
-