Interface CfnSamplingRule.SamplingRuleUpdateProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnSamplingRule.SamplingRuleUpdateProperty.Jsii$Proxy
- Enclosing class:
- CfnSamplingRule
@Stability(Stable)
public static interface CfnSamplingRule.SamplingRuleUpdateProperty
extends software.amazon.jsii.JsiiSerializable
Example:
 
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.xray.*;
 SamplingRuleUpdateProperty samplingRuleUpdateProperty = SamplingRuleUpdateProperty.builder()
         .attributes(Map.of(
                 "attributesKey", "attributes"))
         .fixedRate(123)
         .host("host")
         .httpMethod("httpMethod")
         .priority(123)
         .reservoirSize(123)
         .resourceArn("resourceArn")
         .ruleArn("ruleArn")
         .ruleName("ruleName")
         .serviceName("serviceName")
         .serviceType("serviceType")
         .urlPath("urlPath")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSamplingRule.SamplingRuleUpdatePropertystatic final classAn implementation forCfnSamplingRule.SamplingRuleUpdateProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default ObjectMatches attributes derived from the request.default NumberThe percentage of matching requests to instrument, after the reservoir is exhausted.default StringgetHost()Matches the hostname from a request URL.default StringMatches the HTTP method from a request URL.default NumberThe priority of the sampling rule.default NumberA fixed number of matching requests to instrument per second, prior to applying the fixed rate.default StringMatches the ARN of the AWS resource on which the service runs.default StringThe ARN of the sampling rule.default StringThe ARN of the sampling rule.default StringMatches the name that the service uses to identify itself in segments.default StringMatches the origin that the service uses to identify its type in segments.default StringMatches the path from a request URL.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getAttributesMatches attributes derived from the request.Returns union: either Mapinvalid input: '<'String, String> orIResolvable- See Also:
 
- 
getFixedRateThe percentage of matching requests to instrument, after the reservoir is exhausted.- See Also:
 
- 
getHostMatches the hostname from a request URL.- See Also:
 
- 
getHttpMethodMatches the HTTP method from a request URL.- See Also:
 
- 
getPriorityThe priority of the sampling rule.- See Also:
 
- 
getReservoirSizeA 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. - See Also:
 
- 
getResourceArnMatches the ARN of the AWS resource on which the service runs.- See Also:
 
- 
getRuleArnThe ARN of the sampling rule.Specify a rule by either name or ARN, but not both. - See Also:
 
- 
getRuleNameThe ARN of the sampling rule.Specify a rule by either name or ARN, but not both. - See Also:
 
- 
getServiceNameMatches the name that the service uses to identify itself in segments.- See Also:
 
- 
getServiceTypeMatches the origin that the service uses to identify its type in segments.- See Also:
 
- 
getUrlPathMatches the path from a request URL.- See Also:
 
- 
builder
 
-