Interface CfnSamplingRule.SamplingRuleRecordProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSamplingRule.SamplingRuleRecordProperty.Jsii$Proxy
- Enclosing class:
CfnSamplingRule
@Stability(Stable)
public static interface CfnSamplingRule.SamplingRuleRecordProperty
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.*;
SamplingRuleRecordProperty samplingRuleRecordProperty = SamplingRuleRecordProperty.builder()
.createdAt("createdAt")
.modifiedAt("modifiedAt")
.samplingRule(SamplingRuleProperty.builder()
.fixedRate(123)
.host("host")
.httpMethod("httpMethod")
.priority(123)
.reservoirSize(123)
.resourceArn("resourceArn")
.serviceName("serviceName")
.serviceType("serviceType")
.urlPath("urlPath")
// the properties below are optional
.attributes(Map.of(
"attributesKey", "attributes"))
.ruleArn("ruleArn")
.ruleName("ruleName")
.version(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSamplingRule.SamplingRuleRecordPropertystatic final classAn implementation forCfnSamplingRule.SamplingRuleRecordProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringWhen the rule was created, in Unix time seconds.default StringWhen the rule was modified, in Unix time seconds.default ObjectReturns union: eitherIResolvableorCfnSamplingRule.SamplingRulePropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCreatedAt
When the rule was created, in Unix time seconds.- See Also:
-
getModifiedAt
When the rule was modified, in Unix time seconds.- See Also:
-
getSamplingRule
Returns union: eitherIResolvableorCfnSamplingRule.SamplingRuleProperty- See Also:
-
builder
-